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:
Marty Oehme 2023-09-16 16:31:43 +02:00
parent 5e53105a62
commit 47c3f7682d
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -45,10 +45,12 @@ install_paru() {
fi fi
# use tmp dir to make paru # use tmp dir to make paru
target=$(mktemp -d) tempdir=".paru"
git clone https://aur.archlinux.org/paru.git "$target" git clone https://aur.archlinux.org/paru.git "$tempdir"
cd "$target" || exit pushd "$tempdir" || exit 1
makepkg -si makepkg -si
popd || exit 1
rm -rf "$tempdir"
} }
update_repos() { update_repos() {