This commit is contained in:
parazyd 2017-02-15 15:54:45 +01:00
parent 693ee05e21
commit 99488030c8
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
1 changed files with 5 additions and 5 deletions

View File

@ -137,15 +137,15 @@ bootstrap_tar_unpack() {
req=(unpath bootstrap_tgz)
ckreq || return 1
if [[ -f ${unpath}/.keep ]]; then
if [[ -f "${unpath}/.keep" ]]; then
error "no .keep file found. exiting..."
zerr
exit 1
else
mkdir -p ${unpath}
silly
sudo tar xfp $bootstrap_tgz -C ${unpath}
sudo mkdir -p ${unpath}/{boot,dev,sys,proc}
else
error "no .keep file found. exiting..."
zerr
exit 1
fi
cat <<EOF | sudo tee ${strapdir}/postunpack >/dev/null