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.70.50.23

H O M E


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

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

## --------------------------------------------------------------
## Install XML catalog entries
if [ "$1" = "configure" ]
then

update-xmlcatalog --verbose --add --package foo --type public \
--id "-//FOO//DTD FOO//EN" \
--local /usr/share/xml/schema/foo/catalog.xml

update-xmlcatalog --verbose --add --package foo --type system \
--id "http://www.foo.org/foo/foo.dtd" \
--local /usr/share/xml/schema/foo/catalog.xml

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

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

fi

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

exit 0

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