[SCM] Packaging for Lugaru HD branch, debian_source, updated. debian/0_20110520.1+hge4354+dfsg-1-13-g69d4fd7
Arand Nash
ienorand at gmail.com
Mon Oct 24 19:15:56 UTC 2011
The following commit has been merged in the debian_source branch:
commit 69d4fd79735abe49ac716ad27cc7d8a3856503ed
Author: Arand Nash <ienorand at gmail.com>
Date: Mon Oct 24 21:05:18 2011 +0200
Update wrapper script to handle windowing
diff --git a/debian/scripts/lugaru b/debian/scripts/lugaru
index e23c46f..0db43a7 100644
--- a/debian/scripts/lugaru
+++ b/debian/scripts/lugaru
@@ -1,19 +1,14 @@
#!/bin/sh
-for arg in "$@"; do
- case "$arg" in
- -h|-help|--help)
- exec man lugaru
- ;;
- -fullscreen)
- :
- ;;
- *)
- CMD_OPTIONS="-windowed -nomousegrab"
- ;;
- esac
+CMD_OPTIONS="-windowed -nomousegrab"
+export CMD_OPTIONS
+
+for arg in "$@"
+do case "$@" in
+ -h|-help|--help) exec man lugaru ;;
+ -fullscreen) unset CMD_OPTIONS ;;
+ esac
done
cd /usr/lib/lugaru
-exec ./lugaru "$CMD_OPTIONS" ${1+"$@"}
-# ${1+"$@"} is a portability hack, keyword "wrapper script"
+exec ./lugaru $CMD_OPTIONS ${1+"$@"}
--
Packaging for Lugaru HD
More information about the Pkg-games-commits
mailing list