summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
author M.Dinslage2021-08-01 10:24:32 +0200
committer Robby Workman2021-08-01 11:20:54 +0200
commit877b806bae0dbeb9fb85b068d86106c7dfafc033 (patch)
treed6eb98fe45c566716bbf61607d35d0561f1ffcd6 /system
parent3d4684561c7224e358033be039be52dd8bdc00b6 (diff)
downloadslackbuilds-877b806bae0dbeb9fb85b068d86106c7dfafc033.tar.gz
system/unigine-heaven-benchmark: Fixed broken link in /usr/bin
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/unigine-heaven-benchmark/unigine-heaven-benchmark.SlackBuild6
-rw-r--r--system/unigine-heaven-benchmark/unigine-heaven-benchmark.desktop2
2 files changed, 4 insertions, 4 deletions
diff --git a/system/unigine-heaven-benchmark/unigine-heaven-benchmark.SlackBuild b/system/unigine-heaven-benchmark/unigine-heaven-benchmark.SlackBuild
index 2693f7ad66..1d343a7bca 100644
--- a/system/unigine-heaven-benchmark/unigine-heaven-benchmark.SlackBuild
+++ b/system/unigine-heaven-benchmark/unigine-heaven-benchmark.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=unigine-heaven-benchmark
VERSION=${VERSION:-4.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -83,10 +83,10 @@ find -L . \
# copy excutable
mkdir -p $PKG/usr/bin
-cp $PKG/opt/$PRGNAM/heaven $PKG/usr/bin
+cp $PKG/opt/$PRGNAM/heaven $PKG/usr/bin/unigine-heaven-benchmark
# fix excutable
-sed -i 's,./bin,/opt/unigine-heaven-benchmark/bin,g' $PKG/usr/bin/heaven
+sed -i 's,cd ./bin,cd /opt/unigine-heaven-benchmark/bin,g' $PKG/usr/bin/unigine-heaven-benchmark
#add application launcher
mkdir -p $PKG/usr/share/applications
diff --git a/system/unigine-heaven-benchmark/unigine-heaven-benchmark.desktop b/system/unigine-heaven-benchmark/unigine-heaven-benchmark.desktop
index c28649c996..8c7927858e 100644
--- a/system/unigine-heaven-benchmark/unigine-heaven-benchmark.desktop
+++ b/system/unigine-heaven-benchmark/unigine-heaven-benchmark.desktop
@@ -1,7 +1,7 @@
[Desktop Entry]
Name=unigine-heaven-benchmark
GenericName=System benchmarking software
-Exec=heaven
+Exec=unigine-heaven-benchmark
Terminal=false
Type=Application
Categories=Game;