From c43605f73347ec35e86f841d02109638d9fd65ed Mon Sep 17 00:00:00 2001 From: Ivan Rako Date: Sat, 31 Aug 2013 16:15:09 +0200 Subject: [PATCH] ispravke u postrm --- debian/postrm | 4 ++-- debian/preinst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 -- 1.7.10.4