File: postrm

package info (click to toggle)
asterisk-prompt-fr-proformatique 20070706-1.4-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 15,012 kB
  • sloc: sh: 65; makefile: 44
file content (20 lines) | stat: -rw-r--r-- 330 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

set -e

case "$1" in
    abort-upgrade)
	if dpkg --compare-versions "$2" lt-nl 20070706-1.4-2; then
	    for d in dictate digits letters phonetic; do
		if ! [ -e "/usr/share/asterisk/sounds/${d}/fr" ]; then
		    ln -s "../fr/${d}" "/usr/share/asterisk/sounds/${d}/fr"
		fi
	    done
	fi
	;;

esac

#DEBHELPER#

exit 0