mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-03 20:34:43 +00:00
24 lines
428 B
Text
24 lines
428 B
Text
|
|
#!/bin/sh -e
|
||
|
|
# postinst script for linkchecker
|
||
|
|
#
|
||
|
|
# see: dh_installdeb(1)
|
||
|
|
|
||
|
|
case "$1" in
|
||
|
|
configure|reconfigure|abort-upgrade|abort-remove|abort-deconfigure)
|
||
|
|
break
|
||
|
|
;;
|
||
|
|
*)
|
||
|
|
echo "postinst called with unknown argument \`$1'" >&2
|
||
|
|
exit 1
|
||
|
|
;;
|
||
|
|
esac
|
||
|
|
|
||
|
|
# move old logfile
|
||
|
|
if [ -f /etc/linkcheckerrc ]; then
|
||
|
|
mv -f /etc/linkcheckerrc /etc/linkchecker/linkcheckerrc.old || true
|
||
|
|
fi
|
||
|
|
|
||
|
|
#DEBHELPER#
|
||
|
|
|
||
|
|
exit 0
|