https://t.me/RX1948
Server : nginx/1.24.0
System : Linux ip-172-31-33-48 6.14.0-1011-aws #11~24.04.1-Ubuntu SMP Fri Aug 1 02:07:25 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
Directory :  /usr/share/doc/xml-core/examples/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/doc/xml-core/examples/foo.postinst
#!/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

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

https://t.me/RX1948 - 2025