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
|
||||||
|
if ! [ -e "$_optdest"/dev/null ]; then
|
||||||
curl "$script" -o "$bootstrap"
|
curl "$script" -o "$bootstrap"
|
||||||
"$bootstrap" "$_optdest"
|
"$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