diff options
Diffstat (limited to 'academic')
-rw-r--r-- | academic/pgrouting/pgrouting.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/academic/pgrouting/pgrouting.SlackBuild b/academic/pgrouting/pgrouting.SlackBuild index 88a3b373e3..dbc17725d1 100644 --- a/academic/pgrouting/pgrouting.SlackBuild +++ b/academic/pgrouting/pgrouting.SlackBuild @@ -62,7 +62,11 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT rm -rf $TMP/$PRGNAM-$VERSION cd $TMP -tar xvf $CWD/v$VERSION.tar.gz +if [ -e $CWD/v$VERSION.tar.gz ]; then + tar xvf $CWD/v$VERSION.tar.gz +else + tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +fi cd $PRGNAM-$VERSION chown -R root:root . find . \ |