summaryrefslogtreecommitdiffstats
path: root/debian/nmap-common.postinst
blob: 2a9b4601e99433c4cb824b23633168165df6a4b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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