summaryrefslogtreecommitdiff
path: root/development/zed
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-18 18:54:16 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-18 18:54:16 +0700
commit5a8b160ecbb7d49b7dee6e5674238c0f7025bcab (patch)
treee4f8fda274fad3d5cd4384b49939f03e0385ce35 /development/zed
parent5f06c7ff1922c795967b3ec1391d7d336989c324 (diff)
downloadslackbuilds-5a8b160ecbb7d49b7dee6e5674238c0f7025bcab.tar.gz
development/zed: Fix symlink in doinst.sh.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/zed')
-rw-r--r--development/zed/zed.SlackBuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/development/zed/zed.SlackBuild b/development/zed/zed.SlackBuild
index 7501ebfe5d..33b075e69f 100644
--- a/development/zed/zed.SlackBuild
+++ b/development/zed/zed.SlackBuild
@@ -27,12 +27,10 @@ VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -83,7 +81,7 @@ EOT
chmod 755 $PKG/usr/bin/${PRGNAM}
mkdir -p $PKG/usr/share/pixmaps
-ln -sf $PKG/opt/${PRGNAM}/${SRCNAM}.png $PKG/usr/share/pixmaps/${PRGNAM}.png
+ln -sf /opt/${PRGNAM}/${SRCNAM}.png $PKG/usr/share/pixmaps/${PRGNAM}.png
mkdir -p $PKG/usr/share/applications
cat $CWD/${PRGNAM}.desktop > $PKG/usr/share/applications/${PRGNAM}.desktop