Alright fine fuck trap then
This commit is contained in:
parent
1db87c2ef2
commit
304d64e273
@ -88,11 +88,10 @@ arch-build() {
|
|||||||
# Download and unpack our minimal Arch image. Or pacstrap it or whatever
|
# Download and unpack our minimal Arch image. Or pacstrap it or whatever
|
||||||
log "Bootstrapping an Arch installation"
|
log "Bootstrapping an Arch installation"
|
||||||
script="https://raw.githubusercontent.com/tokland/arch-bootstrap/master/arch-bootstrap.sh"
|
script="https://raw.githubusercontent.com/tokland/arch-bootstrap/master/arch-bootstrap.sh"
|
||||||
bootstrap="$(mktemp)"
|
bootstrap="/tmp/tmp.$USER.$_name.arch-bootstrap.sh"
|
||||||
for file in "$bootstrap"; do
|
for file in "$bootstrap"; do
|
||||||
touch "$file"
|
touch "$file"
|
||||||
chmod 0700 "$file"
|
chmod 0700 "$file"
|
||||||
trap cleanup "$file" EXIT
|
|
||||||
done
|
done
|
||||||
"$bootstrap" "$_optdest"
|
"$bootstrap" "$_optdest"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user