From e032b492fc3ed09d65ee951a93cec9dda41abded Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sat, 16 Jan 2016 23:05:23 +0000 Subject: games/ags: Support alternate tarball name. Signed-off-by: David Spencer --- games/ags/ags.SlackBuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'games') diff --git a/games/ags/ags.SlackBuild b/games/ags/ags.SlackBuild index f2fd261e39f3..1073df2703f6 100644 --- a/games/ags/ags.SlackBuild +++ b/games/ags/ags.SlackBuild @@ -66,7 +66,7 @@ cd $TMP rm -rf allegro-${ALLEGRO_VERSION} rm -rf dumb-${DUMB_VERSION} -rm -rf allegro${ALLEGRO_VERSION} +rm -rf ags-v.${VERSION} # Build Allegro 4 first. @@ -121,7 +121,7 @@ make install # And finaly install Adventure Game Studio. cd $TMP -tar xvf $CWD/v.${VERSION}.tar.gz +tar xvf $CWD/v.${VERSION}.tar.gz || tar xvf $CWD/ags-v.${VERSION}.tar.gz cd ags-v.$VERSION chown -R root:root . -- cgit v1.2.3