[SCM] Packaging for Lugaru HD branch, debian_source, updated. debian/0_20110520.1+hge4354+dfsg-1-5-gcc0af4f

Arand Nash ienorand at gmail.com
Wed Oct 12 17:28:11 UTC 2011


The following commit has been merged in the debian_source branch:
commit 70eb586bcc3a90c837f843b731fedab2d3d73423
Author: Arand Nash <ienorand at gmail.com>
Date:   Thu Jun 30 23:29:47 2011 +0200

    Launcher script windowes by default

diff --git a/debian/scripts/lugaru b/debian/scripts/lugaru
index fc43ac5..b7bc5f2 100644
--- a/debian/scripts/lugaru
+++ b/debian/scripts/lugaru
@@ -1,12 +1,17 @@
 #!/bin/sh
-for arg
-do
-    if [ "$arg" = --help ]
-    then
-       exec man lugaru
-    fi
-done
+
+case "$arg" in
+    -h|-help|--help)
+	exec man lugaru
+        ;;
+    -fullscreen)
+        :
+        ;;
+    *)
+        CMD_OPTIONS=-windowed
+        ;;
+esac
 
 cd /usr/lib/games/lugaru
-exec ./lugaru ${1+"$@"}
+exec ./lugaru "$CMD_OPTIONS" ${1+"$@"}
 # ${1+"$@"} is a portability hack, keyword "wrapper script"

-- 
Packaging for Lugaru HD



More information about the Pkg-games-commits mailing list