debian/preinst
changeset 31 bbcb8a3366b4
parent 26 767f79e69de1
child 32 89fb9c6611ca
equal deleted inserted replaced
30:eed9f710ba3b 31:bbcb8a3366b4
    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/nobody/.mcbotrc ]; 
    24 	if [ -f /var/lib/mcbot/.mcbotrc ]; 
    25 	then
    25 	then
    26 		cp -f /var/lib/nobody/.mcbotrc /var/lib/nobody/.mcbotrc.dpkg-old
    26 		cp -f /var/lib/mcbot/.mcbotrc /var/lib/mcbot/.mcbotrc.dpkg-old
    27 	fi
    27 	fi
    28     ;;
    28     ;;
    29 
    29 
    30     abort-upgrade)
    30     abort-upgrade)
    31     ;;
    31     ;;