summaryrefslogtreecommitdiff
path: root/development/zed/zed.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/zed/zed.SlackBuild')
-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