don't check for keepfiles on tar_unpack

This commit is contained in:
parazyd 2017-09-25 15:58:03 +02:00
parent 61fa850968
commit 1b1e557010
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
1 changed files with 10 additions and 10 deletions

View File

@ -129,7 +129,7 @@ apt-get --yes --force-yes autoremove
rm -f /debconf.set
rm -f /etc/ssh/ssh_host_*
rm -f /root/.bash_history
echo "1" > .keep
#echo "1" > .keep
EOF
}
@ -164,15 +164,15 @@ bootstrap_tar_unpack() {
req=(unpath bootstrap_tgz)
ckreq || return 1
if [[ -f "${unpath}/.keep" ]]; then
act "skipping tarball unpack"
else
sudo rm -rf ${unpath}
mkdir -p ${unpath}
silly
sudo tar xfp $bootstrap_tgz -C ${unpath}
sudo mkdir -p ${unpath}/{boot,dev,sys,proc}
fi
# if [[ -f "${unpath}/.keep" ]]; then
# act "skipping tarball unpack"
# else
sudo rm -rf ${unpath}
mkdir -p ${unpath}
silly
sudo tar xfp $bootstrap_tgz -C ${unpath}
sudo mkdir -p ${unpath}/{boot,dev,sys,proc}
# fi
conf_print_sourceslist | sudo tee $strapdir/etc/apt/sources.list >/dev/null