summaryrefslogtreecommitdiffstats
path: root/debian/nmap-common.postinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:42:05 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:42:05 +0000
commit575f19d860593f20ec54b8814083247b4a1af5aa (patch)
tree08f548bc861a75bc05d618a89e2081700b4005cd /debian/nmap-common.postinst
parentAdding upstream version 7.94+git20230807.3be01efb1+dfsg. (diff)
downloadnmap-575f19d860593f20ec54b8814083247b4a1af5aa.tar.xz
nmap-575f19d860593f20ec54b8814083247b4a1af5aa.zip
Adding debian version 7.94+git20230807.3be01efb1+dfsg-2.debian/7.94+git20230807.3be01efb1+dfsg-2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/nmap-common.postinst')
-rwxr-xr-xdebian/nmap-common.postinst19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/nmap-common.postinst b/debian/nmap-common.postinst
new file mode 100755
index 0000000..2a9b460
--- /dev/null
+++ b/debian/nmap-common.postinst
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ configure)
+ tac /usr/share/nmap/nselib/data/psexec/nmap_service.ex_ | base64 -d | zcat > /usr/share/nmap/nselib/data/psexec/nmap_service.exe ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure) ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0