[Pkg-ocaml-maint-commits] [SCM] unison packaging branch, master, updated. debian/2.40.63-1-7-gbdf225e

Stephane Glondu steph at glondu.net
Thu Jan 26 06:29:41 UTC 2012


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

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

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