libdevuansdk

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

commit b7fedae88529443141471043acf75223befc5f34
parent fd2f5ec4ecba4e7753b3943e4d9cc6100584a992
Author: parazyd <parazyd@dyne.org>
Date:   Sat, 15 Apr 2017 18:17:02 +0200

unpack the tarball now and then

Diffstat:
Mzlibs/bootstrap | 9++++-----
1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/zlibs/bootstrap b/zlibs/bootstrap @@ -116,7 +116,7 @@ bootstrap_tar_pack() { local _dest=$(dirname $bootstrap_tgz) if [[ -f $bootstrap_tgz ]]; then - act "tarball found already in $_dest" + notice "tarball found already in $_dest" else notice "Creating boostrap tarball in $bootstrap_tgz" silly @@ -138,14 +138,13 @@ bootstrap_tar_unpack() { 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} - else - error "no .keep file found. exiting..." - zerr - exit 1 fi cat <<EOF | sudo tee ${strapdir}/postunpack >/dev/null