[game-data-packager] 160/293: note that removing the alternative on upgrade is a problem
Simon McVittie
smcv at debian.org
Fri Oct 14 00:12:09 UTC 2016
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch quake
in repository game-data-packager.
commit 74d26013b1c9963767fc4325b459c9d798811084
Author: Simon McVittie <smcv at debian.org>
Date: Fri Jul 15 00:08:29 2011 +0100
note that removing the alternative on upgrade is a problem
---
debian/policy.txt | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/debian/policy.txt b/debian/policy.txt
index e7ccf92..d5247ff 100644
--- a/debian/policy.txt
+++ b/debian/policy.txt
@@ -30,10 +30,11 @@ update-alternatives --quiet --install /usr/lib/quake/quake-engine \
update-alternatives --quiet --install /usr/lib/quake/quake-engine-server \
quake-engine-server /usr/bin/MYSERVER 0
-Every implementation of the alternatives should register with priority 0, so
-that the first engine that the user installs is considered "best" by
-update-alternatives, and installing another engine never causes the user
-to "lose" their configuration and savegames.
+Every implementation of the alternatives should register with priority 0,
+and the prerm maintainer script should not remove the alternative when invoked
+with $1 = "upgrade", so that the first engine that the user installs is
+considered "best" by update-alternatives, and installing another engine
+never causes the user to "lose" their configuration and savegames.
Virtual packages
----------------
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git
More information about the Pkg-games-commits
mailing list