summaryrefslogtreecommitdiffstats
path: root/desktop/superkey-launch/superkey-launch.SlackBuild
diff options
context:
space:
mode:
author Ryan P.C. McQuen <ryan.q@linux.com>2015-09-25 07:46:01 -0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-26 10:05:29 +0700
commitbf562c24ded6aea6f5b1312dfe58a7f780d43856 (patch)
treecd4558238a0715249ef227cf8b290e6e6be70434 /desktop/superkey-launch/superkey-launch.SlackBuild
parente09ec531e05caf7241b4eedad7bea405e1c2dd71 (diff)
downloadslackbuilds-bf562c24ded6aea6f5b1312dfe58a7f780d43856.tar.gz
slackbuilds-bf562c24ded6aea6f5b1312dfe58a7f780d43856.tar.xz
desktop/superkey-launch: Updated for version 1.6.3.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
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