[lugaru] 07/07: Drop previous launch script & run binary directly
Martin Werner
arand-guest at moszumanska.debian.org
Sat May 20 22:53:01 UTC 2017
This is an automated email from the git hooks/post-receive script.
arand-guest pushed a commit to branch master
in repository lugaru.
commit 47507078d401151ef302c55de315ab2e14ed264f
Author: Martin Erik Werner <martinerikwerner at gmail.com>
Date: Sat May 20 17:28:39 2017 +0200
Drop previous launch script & run binary directly
Remove the previous Debian-specific launch script in favour of running
the upstream binary directly.
Some more or less interesting features are dropped as a consequence:
* Mouse grab is no longer disabled by default.
* No more accessing manpage via --help.
* No Potential migration of config dir automatically on package rename.
But the idea is that following upstream is the better choice in the long
run.
---
debian/TODO | 2 --
debian/scripts/lugaru | 19 -------------------
2 files changed, 21 deletions(-)
diff --git a/debian/TODO b/debian/TODO
index f590aa1..f0262be 100644
--- a/debian/TODO
+++ b/debian/TODO
@@ -1,7 +1,5 @@
* Update description (name, no longer limited subset of art, more campaigns).
-* Probably drop debian/scripts helper and run binary directly.
-
* Update/clean up debian/rules.
- Ongoing by mew
diff --git a/debian/scripts/lugaru b/debian/scripts/lugaru
deleted file mode 100644
index ee6943f..0000000
--- a/debian/scripts/lugaru
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-
-for arg in "$@"; do
- case "$arg" in
- -h|-help|--help) exec man openlugaru ;;
- -fullscreen) fullscreen="true" ;;
- esac
-done
-
-if ( [ -d "$HOME/.lugaru" ] && [ ! -e "$HOME/.openlugaru" ] ); then
- cp -a "$HOME/.lugaru" "$HOME/.openlugaru"
-fi
-
-cd /usr/lib/games/openlugaru || exit 1
-if [ "$fullscreen" = "true" ]; then
- exec ./openlugaru ${1+"$@"}
-else
- exec ./openlugaru -windowed -nomousegrab ${1+"$@"}
-fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/lugaru.git
More information about the Pkg-games-commits
mailing list