Skip to content

Commit 191bdb3

Browse files
authored
Update htop-appimage.sh
1 parent b6b0242 commit 191bdb3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

htop-appimage.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ mkdir -p ./"$APP/$APPDIR" && cd ./"$APP/$APPDIR" || exit 1
1111
# DOWNLOAD AND BUILD HTOP
1212
CURRENTDIR="$(readlink -f "$(dirname "$0")")" # DO NOT MOVE THIS
1313
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-static && make && make install && cd .. || exit 1
15-
find ./bin/* -type f -executable -exec sed -i -e "s|/usr|././|g" {} \; && echo "binary patched" && rm -rf ./htop* ./*tar* || exit 1
14+
wget "$version" && tar fx ./*tar* && cd ./htop* && ./autogen.sh && ./configure --prefix="$CURRENTDIR" \
15+
&& make && make install && cd .. && rm -rf ./htop* ./*tar* || exit 1
1616

1717
# PREPARE APPIMAGE
1818
#cp ./share/applications/*.desktop ./ && cp ./share/icons/*/*/*/* ./htop.svg && ln -s ./htop.svg ./.DirIcon || exit 1 # Causes a sigsegv with appimagetool

0 commit comments

Comments
 (0)