Only execute bootstrap script if we gotta
This commit is contained in:
parent
d869d20e6b
commit
5add86cdd9
@ -93,8 +93,10 @@ arch-build() {
|
|||||||
touch "$file"
|
touch "$file"
|
||||||
chmod 0700 "$file"
|
chmod 0700 "$file"
|
||||||
done
|
done
|
||||||
curl "$script" -o "$bootstrap"
|
if ! [ -e "$_optdest"/dev/null ]; then
|
||||||
"$bootstrap" "$_optdest"
|
curl "$script" -o "$bootstrap"
|
||||||
|
"$bootstrap" "$_optdest"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
arch-chroot() {
|
arch-chroot() {
|
||||||
# Jump to our new Arch chroot
|
# Jump to our new Arch chroot
|
||||||
|
Loading…
Reference in New Issue
Block a user