[packaging] Branch 'ubuntu/precise/1' - debian/postinst debian/prerm

Andre Heinecke "andre.heinecke at intevation.de" at kolabsys.com
Thu May 3 19:11:52 CEST 2012


 debian/postinst |    6 ++----
 debian/prerm    |    6 ++----
 2 files changed, 4 insertions(+), 8 deletions(-)

New commits:
commit 544a29564965c261e73830140bea23ed821f0f5e
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Wed May 2 10:32:20 2012 +0000

    Change filenames of diversion

diff --git a/debian/postinst b/debian/postinst
index a3b8761..4ec24a4 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -1,11 +1,9 @@
 #!/bin/sh
 set -e
 PKG=akonadi-disabler
-DIST=$(lsb_release -si)
-CODENAME=$(lsb_release -sc)
 
-REPLACE=/usr/bin/disabled-akonadiserver
-DIVERSION=/usr/bin/akonadiserver.$DIST.orig
+REPLACE=/usr/bin/akonadiserver.disabled
+DIVERSION=/usr/bin/akonadiserver.distrib
 ORIG=/usr/bin/akonadiserver
 
 if [ "$1" = configure ] ; then
diff --git a/debian/prerm b/debian/prerm
index 2044d0b..b29c511 100644
--- a/debian/prerm
+++ b/debian/prerm
@@ -1,11 +1,9 @@
 #!/bin/sh
 set -e
 PKG=akonadi-disabler
-DIST=$(lsb_release -si)
-CODENAME=$(lsb_release -sc)
 
-REPLACE=/usr/bin/disabled-akonadiserver
-DIVERSION=/usr/bin/akonadiserver.$DIST.orig
+REPLACE=/usr/bin/akonadiserver.disabled
+DIVERSION=/usr/bin/akonadiserver.distrib
 ORIG=/usr/bin/akonadiserver
 
 if [ "$1" = remove ] ; then




More information about the packaging-commits mailing list