home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
-
- set -e
-
- # Remove shutdown and reboot links; this init script does not need them.
- if dpkg --compare-versions "$2" lt "1.4.3-17.1ubuntu2"; then
- rm -f /etc/rc0.d/K20festival /etc/rc6.d/K20festival
- fi
-
- # Automatically added by dh_installinfo
- if [ "$1" = "configure" ]; then
- install-info --quiet /usr/share/info/festival.info
- fi
- # End automatically added section
- # Automatically added by dh_installinit
- if [ -x "/etc/init.d/festival" ]; then
- update-rc.d festival multiuser >/dev/null
- if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
- invoke-rc.d festival start || exit $?
- else
- /etc/init.d/festival start || exit $?
- fi
- fi
- # End automatically added section
- # Automatically added by dh_installcatalogs
- if [ "$1" = "configure" ]; then
- rm -f /etc/sgml/festival.cat
- for ordcat in /usr/share/sgml/festival/catalog; do
- update-catalog --quiet --add /etc/sgml/festival.cat ${ordcat}
- done
- update-catalog --quiet --add --super /etc/sgml/festival.cat
- fi
- # End automatically added section
-
-