Debian Codegraph @

debian/asterisk-prompt-it-menardi.postinst

raw
1 #! /bin/sh
2
3 set -e
4
5 # summary of how this script can be called:
6 # * <postinst> `configure' <most-recently-configured-version>
7 # * <old-postinst> `abort-upgrade' <new version>
8 # * <conflictor's-postinst> `abort-remove' `in-favour' <package>
9 # <new-version>
10 # * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
11 # <failed-install-package> <version> `removing'
12 # <conflicting-package> <version>
13
14 case "$1" in
15 configure)
16 update-alternatives --install \
17 /usr/share/asterisk/sounds/it asterisk-prompt-it \
18 /usr/share/asterisk/sounds/it_IT_f_Menardi 60
19 update-alternatives --install \
20 /usr/share/asterisk/sounds/it_IT asterisk-prompt-it-it \
21 /usr/share/asterisk/sounds/it_IT_f_Menardi 60
22 ;;
23
24 abort-upgrade|abort-remove|abort-deconfigure)
25 ;;
26
27 *)
28 echo "postinst called with unknown argument \`$1'" >&2
29 exit 1
30 ;;
31 esac
32
33 # dh_installdeb will replace this with shell code automatically
34 # generated by other debhelper scripts.
35
36 #DEBHELPER#
37
38 exit 0
39
40