The following commit has been merged in the master branch:
commit ba3a2151576e9d60f417b99a428f2b65fc2a5267
Author: Martin Erik Werner <[email protected]>
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

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to