equal
deleted
inserted
replaced
14 # the debian-policy package |
14 # the debian-policy package |
15 |
15 |
16 |
16 |
17 case "$1" in |
17 case "$1" in |
18 install|upgrade) |
18 install|upgrade) |
19 if [ -x /etc/init.d/mcbot ]; |
19 if [ -x /etc/init.d/mcbot ]; |
20 then |
20 then |
21 invoke-rc.d mcbot stop; |
21 invoke-rc.d mcbot stop; |
22 fi |
22 fi |
23 |
23 |
24 if [ -f /var/lib/mcbot/.mcbotrc ]; |
24 if [ -f /var/lib/mcbot/.mcbotrc ]; |
25 then |
25 then |
26 cp -f /var/lib/mcbot/.mcbotrc /var/lib/mcbot/.mcbotrc.dpkg-old |
26 cp -f /var/lib/mcbot/.mcbotrc /var/lib/mcbot/.mcbotrc.dpkg-old |
27 fi |
27 fi |
28 ;; |
28 ;; |
29 |
29 |