[SCM] DarkPlaces, a Quake engine branch, master, updated. upstream/0_20110628+svn11231-6-g2167b07
Simon McVittie
smcv at debian.org
Thu Jul 14 23:06:57 UTC 2011
The following commit has been merged in the master branch:
commit 2167b07207d46b6b158960ccfa7df179a4bd91bd
Author: Simon McVittie <smcv at debian.org>
Date: Fri Jul 15 00:06:53 2011 +0100
Do not remove our alternative when upgrading
diff --git a/debian/darkplaces-server.prerm b/debian/darkplaces-server.prerm
index dabc9af..b7f881b 100644
--- a/debian/darkplaces-server.prerm
+++ b/debian/darkplaces-server.prerm
@@ -1,7 +1,17 @@
#!/bin/sh
set -e
-update-alternatives --remove quake-engine-server /usr/games/darkplaces-server
+case "$1" in
+ (upgrade|deconfigure|failed-upgrade)
+ ;;
+ (remove)
+ update-alternatives --remove quake-engine-server /usr/games/darkplaces-server
+ ;;
+ (*)
+ echo "Unknown prerm action: $1" >&2
+ exit 1
+ ;;
+esac
#DEBHELPER#
diff --git a/debian/darkplaces.prerm b/debian/darkplaces.prerm
index 6d033e3..e904721 100644
--- a/debian/darkplaces.prerm
+++ b/debian/darkplaces.prerm
@@ -1,7 +1,17 @@
#!/bin/sh
set -e
-update-alternatives --remove quake-engine /usr/games/darkplaces
+case "$1" in
+ (upgrade|deconfigure|failed-upgrade)
+ ;;
+ (remove)
+ update-alternatives --remove quake-engine /usr/games/darkplaces
+ ;;
+ (*)
+ echo "Unknown prerm action: $1" >&2
+ exit 1
+ ;;
+esac
#DEBHELPER#
--
DarkPlaces, a Quake engine
More information about the Pkg-games-commits
mailing list