[wolf4sdl] 01/01: fix wrapper
Fabian Greffrath
fabian-guest at moszumanska.debian.org
Mon Jan 19 10:19:43 UTC 2015
This is an automated email from the git hooks/post-receive script.
fabian-guest pushed a commit to branch master
in repository wolf4sdl.
commit 60bf02808dcdb18a76bbeee47e603c6c67cc5222
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date: Mon Jan 19 10:56:59 2015 +0100
fix wrapper
---
debian/local/wolf4sdl | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/debian/local/wolf4sdl b/debian/local/wolf4sdl
index 3cee35a..884e3f4 100755
--- a/debian/local/wolf4sdl
+++ b/debian/local/wolf4sdl
@@ -24,31 +24,31 @@ file_matches()
if [ -r "$DATADIR/$1" ] && \
[ `cksum "$DATADIR/$1" | cut -d ' ' -f 2` -eq $2 ]
then
- return 1
- else
return 0
+ else
+ return 1
fi
}
# see game-data-packager/data/wolf3d.yaml
# Wolf3d Full v1.4 GT/ID/Activision
-if `file_matches "vgagraph.wl6, 275774"`
+if `file_matches vgagraph.wl6 275774`
then
ENGINE=wolf4sdl-wl6
-elif `file_matches "vgagraph.wl6, 276096"`
+elif `file_matches vgagraph.wl6 276096`
then
ENGINE=wolf4sdl-wl6
# Wolf3d Full v1.4 Apogee (with ReadThis)
-elif `file_matches "vgagraph.wl6, 334506"`
+elif `file_matches vgagraph.wl6 334506`
then
ENGINE=wolf4sdl-wl6a
# Wolf3d Full v1.1 Apogee (with ReadThis)
-elif `file_matches "vgagraph.wl6, 302374"`
+elif `file_matches vgagraph.wl6 302374`
then
ENGINE=wolf4sdl-wl6a1
# Wolf3d Shareware v1.4
-elif `file_matches "vgagraph.wl1, 326568"`
+elif `file_matches vgagraph.wl1 326568`
then
ENGINE=wolf4sdl-wl1
fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/wolf4sdl.git
More information about the Pkg-games-commits
mailing list