diff options
Diffstat (limited to 'debian/nmap-common.postinst')
-rwxr-xr-x | debian/nmap-common.postinst | 19 |
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 |