[Pkg-ocaml-maint-commits] [SCM] unison packaging branch, 2.32.52/master, updated. debian/unison2.32.52-2.32.52-4-7-g78621c1

Stephane Glondu steph at glondu.net
Fri Jan 27 06:47:46 UTC 2012


The following commit has been merged in the 2.32.52/master branch:
commit a48381cbb84a257c93a1b086cb88bf762cca76ac
Author: Stephane Glondu <steph at glondu.net>
Date:   Thu Jan 26 06:50:15 2012 +0100

    Remove unison-gtk alternative on uninstall (Closes: #656355)

diff --git a/debian/templates/prerm b/debian/templates/prerm
index bd534c0..8a62a17 100644
--- a/debian/templates/prerm
+++ b/debian/templates/prerm
@@ -3,7 +3,10 @@
 set -e
 
 if [ "$1" = "remove" ]; then
-	update-alternatives --remove unison /usr/bin/@UNISON_SELF_ALTERNATIVE@
+    update-alternatives --remove unison /usr/bin/@UNISON_SELF_ALTERNATIVE@
+    if @IS_GTK@; then
+        update-alternatives --remove unison-gtk /usr/bin/@UNISON_SELF_ALTERNATIVE@
+    fi
 fi
 
 #DEBHELPER#

-- 
unison packaging



More information about the Pkg-ocaml-maint-commits mailing list