diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-01-16 23:05:23 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:27:24 +0700 |
commit | e032b492fc3ed09d65ee951a93cec9dda41abded (patch) | |
tree | 0fd9e59902861e026c7cb83bc26cdf847311f566 /games/ags/ags.SlackBuild | |
parent | 992229615b732c33210302dcab38c41f62a051b4 (diff) | |
download | slackbuilds-e032b492fc3ed09d65ee951a93cec9dda41abded.tar.gz |
games/ags: Support alternate tarball name.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/ags/ags.SlackBuild')
-rw-r--r-- | games/ags/ags.SlackBuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games/ags/ags.SlackBuild b/games/ags/ags.SlackBuild index f2fd261e39..1073df2703 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 . |