mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-23 01:10:27 +00:00
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1758 e7d03fd6-7b0d-0410-9947-9c21f3af8025
23 lines
428 B
Bash
Executable file
23 lines
428 B
Bash
Executable file
#!/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
|