bootstrap: Do not build paru on tmpfs
The tmp fs can sometimes be very small, too small in fact to build paru on.
This commit is contained in:
parent
5e53105a62
commit
47c3f7682d
1 changed files with 5 additions and 3 deletions
|
@ -45,10 +45,12 @@ install_paru() {
|
|||
fi
|
||||
|
||||
# use tmp dir to make paru
|
||||
target=$(mktemp -d)
|
||||
git clone https://aur.archlinux.org/paru.git "$target"
|
||||
cd "$target" || exit
|
||||
tempdir=".paru"
|
||||
git clone https://aur.archlinux.org/paru.git "$tempdir"
|
||||
pushd "$tempdir" || exit 1
|
||||
makepkg -si
|
||||
popd || exit 1
|
||||
rm -rf "$tempdir"
|
||||
}
|
||||
|
||||
update_repos() {
|
||||
|
|
Loading…
Reference in a new issue