r10891 - in non-free/packages/trunk/assaultcube/debian: . scripts
Gonéri Le Bouder
goneri at alioth.debian.org
Fri Apr 2 21:00:44 UTC 2010
Author: goneri
Date: 2010-04-02 21:00:33 +0000 (Fri, 02 Apr 2010)
New Revision: 10891
Modified:
non-free/packages/trunk/assaultcube/debian/changelog
non-free/packages/trunk/assaultcube/debian/scripts/assaultcube
Log:
Change the assaultcube script to use the game own mechanism to access
user home directory (thanks to Pfarrei Opfenbach)
Modified: non-free/packages/trunk/assaultcube/debian/changelog
===================================================================
--- non-free/packages/trunk/assaultcube/debian/changelog 2010-04-02 15:57:51 UTC (rev 10890)
+++ non-free/packages/trunk/assaultcube/debian/changelog 2010-04-02 21:00:33 UTC (rev 10891)
@@ -1,3 +1,10 @@
+assaultcube (1.0.4repack1-2) unstable; urgency=low
+
+ * Change the assaultcube script to use the game own mechanism to access
+ user home directory (thanks to Pfarrei Opfenbach)
+
+ -- Gonéri Le Bouder <goneri at rulezlan.org> Fri, 02 Apr 2010 23:00:03 +0200
+
assaultcube (1.0.4repack1-1) unstable; urgency=low
* Initial release (Closes: #435809)
Modified: non-free/packages/trunk/assaultcube/debian/scripts/assaultcube
===================================================================
--- non-free/packages/trunk/assaultcube/debian/scripts/assaultcube 2010-04-02 15:57:51 UTC (rev 10890)
+++ non-free/packages/trunk/assaultcube/debian/scripts/assaultcube 2010-04-02 21:00:33 UTC (rev 10891)
@@ -1,18 +1,3 @@
#!/bin/sh
-
-set -e
-
-HOMEASSAULT="$HOME/.assaultcube"
-
-if [ ! -d $HOMEASSAULT ]; then
-
- mkdir $HOMEASSAULT
- cd $HOMEASSAULT
- cp -r /usr/share/games/assaultcube/config .
- ln -s /usr/share/games/assaultcube/packages .
- ln -s /usr/share/games/assaultcube/bot .
-
-fi
-cd $HOMEASSAULT
-
-exec /usr/lib/games/assaultcube/ac_client $@
+cd /usr/share/games/assaultcube
+exec /usr/lib/games/assaultcube/ac_client --home=${HOME}/.assaultcube_v1.0 --init $@
More information about the Pkg-games-commits
mailing list