summaryrefslogtreecommitdiff
path: root/packaging/Debian/debian/swat.postrm
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/Debian/debian/swat.postrm')
-rw-r--r--packaging/Debian/debian/swat.postrm19
1 files changed, 19 insertions, 0 deletions
diff --git a/packaging/Debian/debian/swat.postrm b/packaging/Debian/debian/swat.postrm
new file mode 100644
index 0000000000..e203d2855f
--- /dev/null
+++ b/packaging/Debian/debian/swat.postrm
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+case "$1" in
+ purge)
+ update-inetd --remove '/usr/sbin/swat$'
+ exit 0
+ ;;
+ remove)
+ ;;
+ upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ ;;
+ *)
+ echo "$0: unknown action \"$1\""
+ exit 0
+ ;;
+esac
+
+exit 0
+