diff options
author | Gerald Carter <jerry@samba.org> | 2002-02-02 15:44:37 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-02-02 15:44:37 +0000 |
commit | c8bc0fa4a7be25cb926750a56085e1e98ed9046b (patch) | |
tree | ec7bb9c0ce893fda80a6eb1f264c4717b3f667ac /packaging/Debian/debian/swat.postinst | |
parent | 8cb4e23ffc77a9842e1304f3de20af5861982746 (diff) | |
download | samba-c8bc0fa4a7be25cb926750a56085e1e98ed9046b.tar.gz samba-c8bc0fa4a7be25cb926750a56085e1e98ed9046b.tar.bz2 samba-c8bc0fa4a7be25cb926750a56085e1e98ed9046b.zip |
merge from 2.2
(This used to be commit 473a89cde2e60c359cb435c714dc98974489a118)
Diffstat (limited to 'packaging/Debian/debian/swat.postinst')
-rw-r--r-- | packaging/Debian/debian/swat.postinst | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/packaging/Debian/debian/swat.postinst b/packaging/Debian/debian/swat.postinst new file mode 100644 index 0000000000..c5ab489044 --- /dev/null +++ b/packaging/Debian/debian/swat.postinst @@ -0,0 +1,23 @@ +#!/bin/sh + +PATH=/sbin:/bin:/usr/sbin:/usr/bin + +case "$1" in + configure) + ;; + abort-upgrade|abort-remove|abort-deconfigure) + exit 0 + ;; + *) + echo "$0: Unknown action \"$1\"" + exit 0 + ;; +esac + +# Set up swat, turned off by default. +update-inetd --group OTHER --add \ + '#<off># swat\t\tstream\ttcp\tnowait.400\troot\t/usr/sbin/tcpd\t/usr/sbin/swat' + +if [ -d /usr/doc -a ! -e /usr/doc/swat -a -d /usr/share/doc/swat ]; then + ln -sf ../share/doc/swat /usr/doc/swat +fi |