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 / xml-core / examples /
server ip : 172.67.156.115

your ip : 172.69.58.219

H O M E


Filename/usr/share/doc/xml-core/examples/foo.prerm
Size1.08 kb
Permissionrwxr-xr-x
Ownerroot : root
Create time27-Apr-2025 09:55
Last modified11-Mar-2007 11:28
Last accessed08-Jul-2025 00:12
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
#!/bin/sh
## ----------------------------------------------------------------------
## debian/prerm: preremoval script for foo
## ----------------------------------------------------------------------

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

## --------------------------------------------------------------
## Remove XML catalog entries
if [ "$1" = "remove" -o "$1" = "upgrade" ]
then

update-xmlcatalog --verbose --add --root --type public \
--id "-//FOO//DTD FOO//EN"

update-xmlcatalog --verbose --add --root --type system \
--id "http://www.foo.org/foo/foo.dtd"

update-xmlcatalog --verbose --add --package foo --type public \
--id "-//FOO//DTD FOO//EN"

update-xmlcatalog --verbose --add --package foo --type system \
--id "http://www.foo.org/foo/foo.dtd"

fi

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

exit 0

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