You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CURRENTDIR="$(readlink -f "$(dirname "$0")")"# DO NOT MOVE THIS
13
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-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
0 commit comments