We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e52830a commit ffc570cCopy full SHA for ffc570c
htop-appimage.sh
@@ -9,7 +9,7 @@ if [ -z "$APP" ]; then exit 1; fi
9
mkdir -p ./"$APP/$APPDIR" && cd ./"$APP/$APPDIR" || exit 1
10
11
# DOWNLOAD AND BUILD HTOP
12
-CURRENTDIR="$(readlink -f "$(dirname "$0")")" # DO NOT MOVE THIS
+CURRENTDIR="$(dirname "$(readlink -f "$0")")" # DO NOT MOVE THIS
13
version=$(wget -q https://api.github.com/repos/$SITE/releases -O - | sed 's/[()",{}]/ /g; s/ /\n/g' | grep -o 'https.*releases.*htop.*tar.xz' | head -1)
14
wget "$version" && tar fx ./*tar* && cd ./htop* && ./autogen.sh && ./configure --prefix="$CURRENTDIR" --enable-sensors --enable-static \
15
&& make && make install && cd .. && rm -rf ./htop* ./*tar* || exit 1
0 commit comments