K2LL33D SHELL

 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 : 104.21.89.46

your ip : 172.69.17.127

H O M E


Filename/usr/share/doc/sgml-base/examples/postinst
Size1.01 kb
Permissionrwxr-xr-x
Ownerroot : root
Create time27-Apr-2025 09:55
Last modified22-Sep-2003 05:02
Last accessed07-Jul-2025 15:14
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
#!/bin/sh
## ----------------------------------------------------------------------
## debian/postinst: postinstallation script for foo
## ----------------------------------------------------------------------

## ----------------------------------------------------------------------
## Abort if any command returns an error value
set -e

## --------------------------------------------------------------
## Install SGML catalog entries
PACKAGE=foo
CENTRALCAT="/etc/sgml/${PACKAGE}.cat"
ORDCATS="${PACKAGE}/dtd/sgml/1.0/catalog ${PACKAGE}/entities/catalog"
if [ "$1" = "configure" ]
then
install-sgmlcatalog --quiet --remove ${PACKAGE} || true
for ordcat in ${ORDCATS}
do
update-catalog --quiet --add ${CENTRALCAT} /usr/share/sgml/${ordcat}
done
update-catalog --quiet --add --super ${CENTRALCAT}
fi

## ----------------------------------------------------------------------
## Automatically added sections
#DEBHELPER#

exit 0

## ----------------------------------------------------------------------