[wolf4sdl] 01/01: use 'elif' instead of multiple 'if/fi', thanks again Alexandre Detiste

Fabian Greffrath fabian-guest at moszumanska.debian.org
Thu Jan 15 14:05:45 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 c1af15648bccc29d46ca52c312b064869d2a63bf
Author: Fabian Greffrath <fabian+debian at greffrath.com>
Date:   Thu Jan 15 15:03:18 2015 +0100

    use 'elif' instead of multiple 'if/fi', thanks again Alexandre Detiste
---
 debian/local/wolf4sdl | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/debian/local/wolf4sdl b/debian/local/wolf4sdl
index 6397cd1..b93285d 100755
--- a/debian/local/wolf4sdl
+++ b/debian/local/wolf4sdl
@@ -33,22 +33,16 @@ file_matches()
 if `file_matches "vgagraph.wl6, 275774"`
 then
   ENGINE=wolf4sdl-wl6
-else
-if `file_matches "vgagraph.wl6, 276096"`
+elif `file_matches "vgagraph.wl6, 276096"`
 then
   ENGINE=wolf4sdl-wl6
-else
-if `file_matches "vgagraph.wl6, 334506"`
+elif `file_matches "vgagraph.wl6, 334506"`
 then
   ENGINE=wolf4sdl-wl6a
-else
-if `file_matches "vgagraph.wl1, 326568"`
+elif `file_matches "vgagraph.wl1, 326568"`
 then
   ENGINE=wolf4sdl-wl1
 fi
-fi
-fi
-fi
 
 if [ -z "$ENGINE" ]
 then

-- 
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