diff options
author | nachoparker <nacho@ownyourbits.com> | 2017-09-24 00:38:06 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2017-09-27 02:09:10 +0300 |
commit | cde18420186c3ebf2fc2c10997a043eceb521960 (patch) | |
tree | 54a5e0fd61b78d3eef3e8c255cc9d2eb3eb7408f /buildlib.sh | |
parent | 192a9fcc506f83414889094a602b150e475a3141 (diff) |
remove cleanup step from extras. Make it optional
Diffstat (limited to 'buildlib.sh')
-rw-r--r-- | buildlib.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildlib.sh b/buildlib.sh index 8fc484d3..877e6b1c 100644 --- a/buildlib.sh +++ b/buildlib.sh @@ -103,7 +103,7 @@ function launch_installation_qemu() { local IP=$1 [[ "$NO_CFG_STEP" != "1" ]] && local CFG_STEP=configure - [[ "$NO_CLEANUP" != "1" ]] && local CLEANUP_STEP=cleanup + [[ "$NO_CLEANUP" != "1" ]] && local CLEANUP_STEP="[[ \$( type -t cleanup ) == function ]] && cleanup" [[ "$NO_HALT_STEP" != "1" ]] && local HALT_STEP="nohup halt &>/dev/null &" local INSTALLATION_STEPS=" install |