summaryrefslogtreecommitdiff
path: root/desktop/ssr/ssr.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/ssr/ssr.SlackBuild')
-rw-r--r--desktop/ssr/ssr.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/ssr/ssr.SlackBuild b/desktop/ssr/ssr.SlackBuild
index 1f0854add7..1960ee43f8 100644
--- a/desktop/ssr/ssr.SlackBuild
+++ b/desktop/ssr/ssr.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ssr
-VERSION=${VERSION:-0.3.0}
+VERSION=${VERSION:-0.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,11 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-if [ -e $CWD/$VERSION.tar.gz ]; then
- tar xvf $CWD/$VERSION.tar.gz
-else
- tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-fi
+tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \