diff options
Diffstat (limited to 'academic/wxmacmolplt/wxmacmolplt.SlackBuild')
-rw-r--r-- | academic/wxmacmolplt/wxmacmolplt.SlackBuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/academic/wxmacmolplt/wxmacmolplt.SlackBuild b/academic/wxmacmolplt/wxmacmolplt.SlackBuild index 3a62855cb5..8a40559843 100644 --- a/academic/wxmacmolplt/wxmacmolplt.SlackBuild +++ b/academic/wxmacmolplt/wxmacmolplt.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=wxmacmolplt -VERSION=${VERSION:-7.6.2} +VERSION=${VERSION:-7.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,7 +60,13 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz + +if [ -f $CWD/$PRGNAM-$VERSION.tar.gz ]; then + tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +elif [ -f $CWD/7pzccnku3uv0mmf6il6yiqghf4b34lc7.gz ]; then + tar xvf $CWD/7pzccnku3uv0mmf6il6yiqghf4b34lc7.gz +fi + cd $PRGNAM-$VERSION chown -R root:root . find -L . \ |