summaryrefslogtreecommitdiffstats
path: root/debian/nmap-common.prerm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/nmap-common.prerm')
-rwxr-xr-xdebian/nmap-common.prerm19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/nmap-common.prerm b/debian/nmap-common.prerm
new file mode 100755
index 0000000..8a76f49
--- /dev/null
+++ b/debian/nmap-common.prerm
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ remove|upgrade|deconfigure)
+ rm -f /usr/share/nmap/nselib/data/psexec/nmap_service.exe ;;
+
+ failed-upgrade) ;;
+
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0