This is an automated email from the git hooks/post-receive script. apo-guest pushed a commit to branch experimental in repository freeciv.
commit 5a7ef9151697303213a969f05b28a6f60d1f72ed Author: Markus Koschany <[email protected]> Date: Mon Apr 13 19:26:59 2015 +0200 Use conditional for removing update-alternative mechanism. --- debian/freeciv-client-gtk.preinst | 4 +++- debian/freeciv-client-qt.preinst | 4 +++- debian/freeciv-client-sdl.preinst | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/debian/freeciv-client-gtk.preinst b/debian/freeciv-client-gtk.preinst index 00544bf..59f2db5 100644 --- a/debian/freeciv-client-gtk.preinst +++ b/debian/freeciv-client-gtk.preinst @@ -2,6 +2,8 @@ set -e -update-alternatives --remove freeciv +if [ -f /etc/alternatives/freeciv ]; then + update-alternatives --remove-all freeciv +fi #DEBHELPER# diff --git a/debian/freeciv-client-qt.preinst b/debian/freeciv-client-qt.preinst index 00544bf..59f2db5 100644 --- a/debian/freeciv-client-qt.preinst +++ b/debian/freeciv-client-qt.preinst @@ -2,6 +2,8 @@ set -e -update-alternatives --remove freeciv +if [ -f /etc/alternatives/freeciv ]; then + update-alternatives --remove-all freeciv +fi #DEBHELPER# diff --git a/debian/freeciv-client-sdl.preinst b/debian/freeciv-client-sdl.preinst index 00544bf..59f2db5 100644 --- a/debian/freeciv-client-sdl.preinst +++ b/debian/freeciv-client-sdl.preinst @@ -2,6 +2,8 @@ set -e -update-alternatives --remove freeciv +if [ -f /etc/alternatives/freeciv ]; then + update-alternatives --remove-all freeciv +fi #DEBHELPER# -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/freeciv.git _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

