mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-19 07:20:26 +00:00
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2903 e7d03fd6-7b0d-0410-9947-9c21f3af8025
22 lines
398 B
Bash
Executable file
22 lines
398 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)
|
|
;;
|
|
*)
|
|
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
|