mirror of
https://github.com/Phantop/appdwarf.git
synced 2024-11-18 04:43:17 +00:00
mkpacman: use powerpill to not need root
This commit is contained in:
parent
869c9666cf
commit
272ed9a1d5
|
@ -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"
|
||||
|
|
|
@ -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,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
|
||||
|
|
Loading…
Reference in a new issue