[SCM] Packaging for Liero branch, master, updated. upstream/1.35_b2+20100124.1-9-gba3a215

Martin Erik Werner martinerikwerner at gmail.com
Tue Jan 10 17:53:05 UTC 2012


The following commit has been merged in the master branch:
commit ba3a2151576e9d60f417b99a428f2b65fc2a5267
Author: Martin Erik Werner <martinerikwerner at gmail.com>
Date:   Tue Jan 10 18:41:23 2012 +0100

    set defaultpath at start of script

diff --git a/debian/scripts/liero b/debian/scripts/liero
index 429b946..ad915a7 100644
--- a/debian/scripts/liero
+++ b/debian/scripts/liero
@@ -1,4 +1,7 @@
 #!/bin/sh
+
+defaultpath="/usr/share/games/liero/LIERO.EXE"
+
 for arg in "$@"; do
 	case "$arg" in
 	-h|-help|--help) exec man liero ;;
@@ -10,7 +13,6 @@ done
 if [ "$manualpath" = "true" ]; then
 	exec /usr/lib/games/liero/liero ${1+"$@"}
 else
-	exec /usr/lib/games/liero/liero ${1+"$@"} \
-					/usr/share/games/liero/LIERO.EXE
+	exec /usr/lib/games/liero/liero ${1+"$@"} "$defaultpath"
 fi
 

-- 
Packaging for Liero



More information about the Pkg-games-commits mailing list