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
|
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() {
|
||||||
|
|
Loading…
Reference in a new issue