[Pkg-mono-svn-commits] [mono] 01/02: Do the framework-install/framework-remove dance in mono-gac maint scripts.

Mirco Bauer meebey at moszumanska.debian.org
Fri Jan 17 03:27:18 UTC 2014


This is an automated email from the git hooks/post-receive script.

meebey pushed a commit to branch master
in repository mono.

commit d953ce16df8860894ebee5c503dce296b4fb2f18
Author: Christopher James Halse Rogers <raof at ubuntu.com>
Date:   Mon Dec 16 12:18:01 2013 +0800

    Do the framework-install/framework-remove dance in mono-gac maint scripts.
    
    This ensures our 3rd-party-ish framework libraries end up in the right place
    on upgrades.
    
    cf: gac-install/gac-remove
---
 debian/mono-gac.postinst | 4 ++++
 debian/mono-gac.prerm    | 5 +++++
 2 files changed, 9 insertions(+)

diff --git a/debian/mono-gac.postinst b/debian/mono-gac.postinst
index 3d93b4d..0eacafa 100644
--- a/debian/mono-gac.postinst
+++ b/debian/mono-gac.postinst
@@ -4,6 +4,10 @@
 if [ -x /usr/share/cli-common/gac-install ]; then
 	/usr/share/cli-common/gac-install mono
 fi
+# Install any framework libs
+if [ -x /usr/share/cli-common/framework-install ]; then
+	/usr/share/cli-common/framework-install mono
+fi
 
 # Update the alternatives
 update-alternatives \
diff --git a/debian/mono-gac.prerm b/debian/mono-gac.prerm
index e774a00..a050284 100644
--- a/debian/mono-gac.prerm
+++ b/debian/mono-gac.prerm
@@ -7,6 +7,11 @@ if [ "$1" = remove ]; then
         if [ -x /usr/share/cli-common/gac-remove ]; then
 		/usr/share/cli-common/gac-remove mono
 	fi
+
+	# Remove any framework libs
+        if [ -x /usr/share/cli-common/framework-remove ]; then
+		/usr/share/cli-common/framework-remove mono
+	fi
 fi
 
 #DEBHELPER#

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mono/packages/mono.git



More information about the Pkg-mono-svn-commits mailing list