ispravne u postrm
authorIvan Rako <irako@nekkar.carnet.hr>
Sat, 31 Aug 2013 14:13:59 +0000 (16:13 +0200)
committerIvan Rako <irako@nekkar.carnet.hr>
Sat, 31 Aug 2013 14:13:59 +0000 (16:13 +0200)
debian/postrm

index a58e1fa..8f30a6c 100755 (executable)
@@ -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 \