[Pkg-mono-svn-commits] rev 3638 - in cli-common/trunk: . debian
Mirco Bauer
meebey at alioth.debian.org
Sat May 3 16:22:36 UTC 2008
Author: meebey
Date: 2008-05-03 16:22:36 +0000 (Sat, 03 May 2008)
New Revision: 3638
Modified:
cli-common/trunk/debian/changelog
cli-common/trunk/dh_cligacpolicy
cli-common/trunk/postrm-cligacpolicy
Log:
fixed GAC policy files of upgrade/downgrades
Modified: cli-common/trunk/debian/changelog
===================================================================
--- cli-common/trunk/debian/changelog 2008-05-02 18:34:56 UTC (rev 3637)
+++ cli-common/trunk/debian/changelog 2008-05-03 16:22:36 UTC (rev 3638)
@@ -1,6 +1,9 @@
cli-common (0.5.7) UNRELEASED; urgency=low
* NOT RELEASED YET
+ * debian/postrm-cligacpolicy:
+ + Remove GAC policy files also in "upgrade" stage, else upgrades and
+ downgrades will leave policy files around.
-- Mirco Bauer <meebey at debian.org> Fri, 11 Jan 2008 00:49:38 +0100
Modified: cli-common/trunk/dh_cligacpolicy
===================================================================
--- cli-common/trunk/dh_cligacpolicy 2008-05-02 18:34:56 UTC (rev 3637)
+++ cli-common/trunk/dh_cligacpolicy 2008-05-03 16:22:36 UTC (rev 3638)
@@ -86,8 +86,8 @@
open(FILE, 'debian/control');
my @filedata = <FILE>;
close(FILE);
- if (!($filedata[0] =~ /Build-Depends(-Indep)?: .*cli-common-dev \(>= 0\.5\.5\)/)) {
- warning("Warning! No Build-Depends(-Indep) on cli-common-dev (>= 0.5.5)!");
+ if (!($filedata[0] =~ /Build-Depends(-Indep)?: .*cli-common-dev \(>= 0\.5\.7\)/)) {
+ warning("Warning! No Build-Depends(-Indep) on cli-common-dev (>= 0.5.7)!");
}
}
Modified: cli-common/trunk/postrm-cligacpolicy
===================================================================
--- cli-common/trunk/postrm-cligacpolicy 2008-05-02 18:34:56 UTC (rev 3637)
+++ cli-common/trunk/postrm-cligacpolicy 2008-05-03 16:22:36 UTC (rev 3638)
@@ -1,3 +1,3 @@
-if [ "$1" = "remove" ] && [ -x /usr/share/cli-common/policy-remove ]; then
+if [ "$1" = "remove" ] || [ "$1" = "upgrade" ] && [ -x /usr/share/cli-common/policy-remove ]; then
/usr/share/cli-common/policy-remove #ASSEMBLY# #VERSION#
fi
More information about the Pkg-mono-svn-commits
mailing list