Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2017-10-28 10:40:07 +0300
committernachoparker <nacho@ownyourbits.com>2017-10-28 10:42:59 +0300
commit6b1578d8628a87420144e25b03909ae891353541 (patch)
tree9d37d7d08d07f355912cc368776cb76f05fa8c14
parent36af04b8b1390f89bf5aac425e5abb134b1b7c01 (diff)
build: fix cleanup optional
-rw-r--r--buildlib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildlib.sh b/buildlib.sh
index 877e6b1c..503c7572 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="[[ \$( type -t cleanup ) == function ]] && cleanup"
+ [[ "$NO_CLEANUP" != "1" ]] && local CLEANUP_STEP="if [[ \$( type -t cleanup ) == function ]];then cleanup; fi"
[[ "$NO_HALT_STEP" != "1" ]] && local HALT_STEP="nohup halt &>/dev/null &"
local INSTALLATION_STEPS="
install