mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
development/zed: Fix symlink in doinst.sh.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
5f06c7ff19
commit
5a8b160ecb
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue