[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 #! /bin/sh 2 # postrm script for se3-internet 3 # 4 # see: dh_installdeb(1) 5 6 set -e 7 8 # summary of how this script can be called: 9 # * <postrm> `remove' 10 # * <postrm> `purge' 11 # * <old-postrm> `upgrade' <new-version> 12 # * <new-postrm> `failed-upgrade' <old-version> 13 # * <new-postrm> `abort-install' 14 # * <new-postrm> `abort-install' <old-version> 15 # * <new-postrm> `abort-upgrade' <old-version> 16 # * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> 17 # for details, see http://www.debian.org/doc/debian-policy/ or 18 # the debian-policy package 19 20 21 case "$1" in 22 purge) 23 if [ -f /usr/share/se3/sbin/smb_rootexec.sh ]; then 24 sed -i "s/\/connexion-internet.sh/\/connexion.pl/" /usr/share/se3/sbin/smb_rootexec.sh 25 fi 26 ;; 27 remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) 28 if [ -f /usr/share/se3/sbin/smb_rootexec.sh ]; then 29 sed -i "s/\/connexion-internet.sh/\/connexion.pl/" /usr/share/se3/sbin/smb_rootexec.sh 30 fi 31 ;; 32 33 *) 34 echo "postrm called with unknown argument \`$1'" >&2 | grep -v NOTICE 35 exit 1 36 37 esac 38 39 # dh_installdeb will replace this with shell code automatically 40 # generated by other debhelper scripts. 41 42 #DEBHELPER# 43 44 exit 0
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Tue Mar 17 22:47:18 2015 | Cross-referenced by PHPXref 0.7.1 |