File: gcin-voice.postinst

package info (click to toggle)
gcin-voice 0~20170223-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid
  • size: 25,808 kB
  • sloc: sh: 27; makefile: 6
file content (21 lines) | stat: -rw-r--r-- 426 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
21
#!/bin/sh
set -e

case "$1" in
    configure)
        update-alternatives --install /usr/share/gcin/ogg gcin-voice /usr/share/gcin-voice/ogg 10
        update-alternatives --install /usr/share/hime/ogg hime-voice /usr/share/gcin-voice/ogg 10
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

#DEBHELPER#

exit 0