summaryrefslogtreecommitdiffstats
path: root/games/ags
diff options
context:
space:
mode:
Diffstat (limited to 'games/ags')
-rw-r--r--games/ags/ags.SlackBuild4
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 .