The following commit has been merged in the master branch:
commit cbeaada4af9ed9f3bbc3a1d2b4f1e48b7fa65f4c
Author: Stephane Glondu <st...@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

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to