[Pkg-ocaml-maint-commits] [SCM] unison packaging branch, 2.27.57/master, updated. debian/unison2.27.57-2.27.57-4-12-g8bd404c
Stephane Glondu
steph at glondu.net
Fri Feb 10 05:43:20 UTC 2012
The following commit has been merged in the 2.27.57/master branch:
commit 77864c48aba62537ff2e3197e7d9e46499b10ecd
Author: Stephane Glondu <steph at glondu.net>
Date: Thu Jan 26 06:50:15 2012 +0100
Remove unison-gtk alternative on uninstall (Closes: #657421)
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