summaryrefslogtreecommitdiff
path: root/desktop/superkey-launch/superkey-launch.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/superkey-launch/superkey-launch.SlackBuild')
-rw-r--r--desktop/superkey-launch/superkey-launch.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/desktop/superkey-launch/superkey-launch.SlackBuild b/desktop/superkey-launch/superkey-launch.SlackBuild
index cb7dbc8ddc..3c08c8ea10 100644
--- a/desktop/superkey-launch/superkey-launch.SlackBuild
+++ b/desktop/superkey-launch/superkey-launch.SlackBuild
@@ -23,7 +23,7 @@
# <http://www.gnu.org/licenses/>.
PRGNAM=superkey-launch
-VERSION=${VERSION:-1.6.0}
+VERSION=${VERSION:-1.6.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,7 +61,11 @@ mkdir -p $TMP $PKG $OUTPUT
mkdir -p $PKG/etc/xdg/autostart/
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
+if [ -e $CWD/$PRGNAM-$VERSION.tar.gz ]; then
+ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+else
+ tar xvf $CWD/$VERSION.tar.gz
+fi
cd $PRGNAM-$VERSION
sed -i "s|MANDIR?=/local/man/man1|MANDIR?=/man/man1|" Makefile