diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 07:42:05 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 07:42:05 +0000 |
commit | 575f19d860593f20ec54b8814083247b4a1af5aa (patch) | |
tree | 08f548bc861a75bc05d618a89e2081700b4005cd /debian/ncat.postinst | |
parent | Adding upstream version 7.94+git20230807.3be01efb1+dfsg. (diff) | |
download | nmap-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/ncat.postinst')
-rwxr-xr-x | debian/ncat.postinst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/ncat.postinst b/debian/ncat.postinst new file mode 100755 index 0000000..9bbb05e --- /dev/null +++ b/debian/ncat.postinst @@ -0,0 +1,14 @@ +#!/bin/sh +set -e + +if [ "$1" = "configure" ]; then + update-alternatives \ + --install /bin/nc nc /usr/bin/ncat 40 \ + --slave /bin/netcat netcat /usr/bin/ncat \ + --slave /usr/share/man/man1/nc.1.gz nc.1.gz \ + /usr/share/man/man1/ncat.1.gz \ + --slave /usr/share/man/man1/netcat.1.gz netcat.1.gz \ + /usr/share/man/man1/ncat.1.gz +fi + +#DEBHELPER# |