changeset 32 | 89fb9c6611ca |
parent 31 | bbcb8a3366b4 |
--- a/debian/preinst +++ b/debian/preinst @@ -16,12 +16,12 @@ case "$1" in install|upgrade) - if [ -x /etc/init.d/mcbot ]; + if [ -x /etc/init.d/mcbot ]; then invoke-rc.d mcbot stop; fi - if [ -f /var/lib/mcbot/.mcbotrc ]; + if [ -f /var/lib/mcbot/.mcbotrc ]; then cp -f /var/lib/mcbot/.mcbotrc /var/lib/mcbot/.mcbotrc.dpkg-old fi