blob: 05b8b9875224b50e0536bc28e9a90f3e62d3a6f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# Automatically added by dh_installinit
if [ "$1" = install ] || [ "$1" = upgrade ]; then
if [ -e "/etc/init.d/gator-daemon" ] && [ ! -L "/etc/init.d/gator-daemon" ]; then
if [ "`md5sum \"/etc/init.d/gator-daemon\" | sed -e \"s/ .*//\"`" != \
"`dpkg-query -W -f='${Conffiles}' gator-daemon | sed -n -e \"\\\\' /etc/init.d/gator-daemon '{s/ obsolete$//;s/.* //p}\"`" ]
then
echo "Obsolete conffile /etc/init.d/gator-daemon has been modified by you, renaming to .dpkg-bak"
mv -f "/etc/init.d/gator-daemon" "/etc/init.d/gator-daemon.dpkg-bak"
else
rm -f "/etc/init.d/gator-daemon"
fi
fi
fi
# End automatically added section
|