From: Ivan Rako Date: Sat, 31 Aug 2013 14:15:09 +0000 (+0200) Subject: ispravke u postrm X-Git-Tag: debian/1%2.0.5_cn0^0 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=c43605f73347ec35e86f841d02109638d9fd65ed;p=ocsinventory-agent-cn.git ispravke u postrm --- diff --git a/debian/postrm b/debian/postrm index 8f30a6c..e1479cd 100755 --- a/debian/postrm +++ b/debian/postrm @@ -3,9 +3,9 @@ set -e if [ "$1" = remove -o "$1" = purge ]; then - dpkg-divert --quiet --package ocsinventory-agent-srce --remove --rename \ + dpkg-divert --quiet --package ocsinventory-agent-cn --remove --rename \ /usr/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Hostname.pm || true - dpkg-divert --quiet --package ocsinventory-agent-srce --remove --rename \ + dpkg-divert --quiet --package ocsinventory-agent-cn --remove --rename \ /usr/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Packaging/Deb.pm || true fi diff --git a/debian/preinst b/debian/preinst index e1e64ec..db355ca 100755 --- a/debian/preinst +++ b/debian/preinst @@ -3,10 +3,10 @@ set -e if [ "$1" = install -o "$1" = upgrade ]; then - dpkg-divert --quiet --package ocsinventory-agent-srce --rename \ + dpkg-divert --quiet --package ocsinventory-agent-cn --rename \ --divert /usr/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Hostname.pm.divert \ /usr/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Hostname.pm - dpkg-divert --quiet --package ocsinventory-agent-srce --rename \ + dpkg-divert --quiet --package ocsinventory-agent-cn --rename \ --divert /usr/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Packaging/Deb.pm.divert \ /usr/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Packaging/Deb.pm fi