r4810 - packages/branches/prboom/dev/debian
Jon Dowland
jmtd-guest at alioth.debian.org
Fri Nov 30 23:37:58 UTC 2007
Author: jmtd-guest
Date: 2007-11-30 23:37:58 +0000 (Fri, 30 Nov 2007)
New Revision: 4810
Added:
packages/branches/prboom/dev/debian/prboom.postinst
packages/branches/prboom/dev/debian/prboom.prerm
Removed:
packages/branches/prboom/dev/debian/prboom.desktop
packages/branches/prboom/dev/debian/prboom.install
Modified:
packages/branches/prboom/dev/debian/changelog
Log:
remove the .desktop file and add an alternative for doom
Modified: packages/branches/prboom/dev/debian/changelog
===================================================================
--- packages/branches/prboom/dev/debian/changelog 2007-11-30 23:33:59 UTC (rev 4809)
+++ packages/branches/prboom/dev/debian/changelog 2007-11-30 23:37:58 UTC (rev 4810)
@@ -1,4 +1,4 @@
-prboom (2:2.4.7+dfsg-2) unstable; urgency=low
+prboom (2:2.4.7+dfsg-2) UNRELEASED; urgency=low
[ Marco Rodrigues ]
* move the maintenance description to README.source
@@ -13,8 +13,10 @@
* remove spare "menu" file
* Add DM-Upload-Allowed: yes to control file (at present, the only
non-DD maintainer is myself)
+ * remove desktop file
+ * add alternative for /usr/games/doom
- -- Jon Dowland <jon at alcopop.org> Wed, 28 Nov 2007 23:07:47 +0000
+ -- Jon Dowland <jon at alcopop.org> Fri, 30 Nov 2007 23:35:39 +0000
prboom (2:2.4.7+dfsg-1) unstable; urgency=low
Deleted: packages/branches/prboom/dev/debian/prboom.desktop
===================================================================
--- packages/branches/prboom/dev/debian/prboom.desktop 2007-11-30 23:33:59 UTC (rev 4809)
+++ packages/branches/prboom/dev/debian/prboom.desktop 2007-11-30 23:37:58 UTC (rev 4810)
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=PrBoom
-GenericName=Clone of the legendary first person shooter Doom
-Comment=First Person Shooter Game
-Exec=prboom
-Icon=prboom
-Terminal=false
-Type=Application
-Categories=Game
Deleted: packages/branches/prboom/dev/debian/prboom.install
===================================================================
--- packages/branches/prboom/dev/debian/prboom.install 2007-11-30 23:33:59 UTC (rev 4809)
+++ packages/branches/prboom/dev/debian/prboom.install 2007-11-30 23:37:58 UTC (rev 4810)
@@ -1 +0,0 @@
-debian/prboom.desktop usr/share/applications
Added: packages/branches/prboom/dev/debian/prboom.postinst
===================================================================
--- packages/branches/prboom/dev/debian/prboom.postinst (rev 0)
+++ packages/branches/prboom/dev/debian/prboom.postinst 2007-11-30 23:37:58 UTC (rev 4810)
@@ -0,0 +1,26 @@
+#! /bin/sh
+# postinst script for prboom
+
+set -e
+
+case "$1" in
+ configure|abort-upgrade)
+ update-alternatives --install /usr/games/doom \
+ doom \
+ /usr/games/prboom \
+ 50
+ ;;
+
+ abort-remove|abort-deconfigure)
+
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
Added: packages/branches/prboom/dev/debian/prboom.prerm
===================================================================
--- packages/branches/prboom/dev/debian/prboom.prerm (rev 0)
+++ packages/branches/prboom/dev/debian/prboom.prerm 2007-11-30 23:37:58 UTC (rev 4810)
@@ -0,0 +1,20 @@
+#! /bin/sh
+# prerm script for nodm
+
+set -e
+
+case "$1" in
+ remove)
+ update-alternatives --remove doom /usr/games/prboom
+ ;;
+ upgrade|deconfigure|failed-upgrade)
+ ;;
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
More information about the Pkg-games-commits
mailing list