Apache/2.4.7 (Ubuntu) Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) safemode : OFF MySQL: ON | Perl: ON | cURL: OFF | WGet: ON > / usr / share / doc / sgml-base / examples / | server ip : 172.67.156.115 your ip : 172.69.130.103 H O M E |
Filename | /usr/share/doc/sgml-base/examples/prerm |
Size | 793 |
Permission | rwxr-xr-x |
Owner | root : root |
Create time | 27-Apr-2025 09:55 |
Last modified | 22-Sep-2003 05:02 |
Last accessed | 07-Jul-2025 04:43 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
#!/bin/sh
## ----------------------------------------------------------------------
## debian/prerm: preremoval script for foo
## ----------------------------------------------------------------------
## ----------------------------------------------------------------------
## Abort if any command returns an error value
set -e
## --------------------------------------------------------------
## Remove SGML catalog entries
PACKAGE=foo
CENTRALCAT="/etc/sgml/${PACKAGE}.cat"
if [ "$1" = "remove" ] || [ "$1" = "upgrade" ]
then
update-catalog --quiet --remove --super ${CENTRALCAT}
fi
## ----------------------------------------------------------------------
## Automatically added sections
#DEBHELPER#
exit 0
## ----------------------------------------------------------------------
## ----------------------------------------------------------------------
## debian/prerm: preremoval script for foo
## ----------------------------------------------------------------------
## ----------------------------------------------------------------------
## Abort if any command returns an error value
set -e
## --------------------------------------------------------------
## Remove SGML catalog entries
PACKAGE=foo
CENTRALCAT="/etc/sgml/${PACKAGE}.cat"
if [ "$1" = "remove" ] || [ "$1" = "upgrade" ]
then
update-catalog --quiet --remove --super ${CENTRALCAT}
fi
## ----------------------------------------------------------------------
## Automatically added sections
#DEBHELPER#
exit 0
## ----------------------------------------------------------------------