libdevuansdk

common library for devuan's simple distro kits
git clone https://git.parazyd.org/libdevuansdk
Log | Files | Refs | Submodules | README | LICENSE

commit 1b1e557010039b970e7af598d3498e40a6ec855a
parent 61fa850968527d68c1d8e3c1bb4c085b97006641
Author: parazyd <parazyd@dyne.org>
Date:   Mon, 25 Sep 2017 15:58:03 +0200

don't check for keepfiles on tar_unpack

Diffstat:
Mzlibs/bootstrap | 20++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/zlibs/bootstrap b/zlibs/bootstrap @@ -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