From 8e9f8f2d0dcdddec35091ddbbdc79650763ec922 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 19:56:50 +0200 Subject: Adding upstream version 2.9.0dev.6. Signed-off-by: Daniel Baumann --- PACKAGE/debian/postinst | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 PACKAGE/debian/postinst (limited to 'PACKAGE/debian/postinst') diff --git a/PACKAGE/debian/postinst b/PACKAGE/debian/postinst new file mode 100644 index 0000000..89955d4 --- /dev/null +++ b/PACKAGE/debian/postinst @@ -0,0 +1,27 @@ +#! /bin/sh +# postinst script for lynx + +set -e + +PRI=50 +ALT=lynx +PKG=lynx-dev + +BINDIR=/usr/bin +MANDIR=/usr/share/man/man1 + +if [ $1 != "upgrade" ] +then + + update-alternatives \ + --install \ + $BINDIR/$ALT $ALT \ + $BINDIR/$PKG $PRI \ + --slave $MANDIR/$ALT.1.gz $ALT.1.gz \ + $MANDIR/$PKG.1.gz + +fi + +#DEBHELPER# + +exit 0 -- cgit v1.2.3