Skip to content

Commit

Permalink
mkpacman: use powerpill to not need root
Browse files Browse the repository at this point in the history
  • Loading branch information
Phantop committed Mar 12, 2024
1 parent 8b5790b commit b80fd1e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/mkjava
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
. "$(dirname "$0")"/appmk
part0
LINK=https://api.adoptium.net/v3/binary/latest/$1/ga/linux/x64/jre/hotspot/normal/eclipse
LINK=https://api.adoptium.net/v3/binary/latest/$1/ga/linux/x64/jdk/hotspot/normal/eclipse
shift
ungz
mv "$DIR"/jdk*/* "$DIR"
Expand Down
2 changes: 1 addition & 1 deletion apps/mkmp3tag
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ aria2c "$LINK" -d "$DIR" -o mp3tag
7z x -y -o"$DIR" "$DIR"/mp3tag
mv "$DIR"/Mp3tag.exe "$DIR"/mp3tag
appa
sed -i '5s/ / wine64 /' "$DIR"/AppRun
sed -i '5s/ / wine /' "$DIR"/AppRun
part9
2 changes: 1 addition & 1 deletion apps/mkpacman
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
. "$(dirname "$0")"/appmk
part0
APP="$1"
sudo pacman -Sw --cachedir "$DIR" "$@"
powerpill -Sw --cachedir "$DIR" "$@"
parallel "tar xf {} -C$DIR" ::: "$DIR"/*.tar.zst
rm -f "$DIR"/*.tar.zst*
appb
Expand Down

0 comments on commit b80fd1e

Please sign in to comment.