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
|
||||
log "Bootstrapping an Arch installation"
|
||||
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
|
||||
touch "$file"
|
||||
chmod 0700 "$file"
|
||||
trap cleanup "$file" EXIT
|
||||
done
|
||||
"$bootstrap" "$_optdest"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user