From: Ivan Rako Date: Sat, 31 Aug 2013 14:13:59 +0000 (+0200) Subject: ispravne u postrm X-Git-Tag: debian/1%2.0.5_cn0~1 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=25f4ec55501d0f675a7b40ae2b60ce86ad49ad31;p=ocsinventory-agent-cn.git ispravne u postrm --- diff --git a/debian/postrm b/debian/postrm index a58e1fa..8f30a6c 100755 --- a/debian/postrm +++ b/debian/postrm @@ -2,7 +2,7 @@ set -e -if [ "$1" = remove ]; then +if [ "$1" = remove -o "$1" = purge ]; then dpkg-divert --quiet --package ocsinventory-agent-srce --remove --rename \ /usr/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Hostname.pm || true dpkg-divert --quiet --package ocsinventory-agent-srce --remove --rename \