diff options
author | nachoparker <nacho@ownyourbits.com> | 2017-09-11 15:35:32 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2017-09-11 18:36:50 +0300 |
commit | c20649d6257ad749b15aee9f6e88970af153ea8b (patch) | |
tree | b09a6e9dd211ef205155f148a5838d2e62fd4624 | |
parent | ef402e736b1d6fac06d9e0086a8e6e5d44c5eb09 (diff) |
remove config txt outputv0.26.29
-rwxr-xr-x | etc/library.sh | 3 | ||||
-rwxr-xr-x | update.sh | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/etc/library.sh b/etc/library.sh index 6ecb95e6..8846aba0 100755 --- a/etc/library.sh +++ b/etc/library.sh @@ -10,7 +10,6 @@ IMGNAME=$( basename "$IMGFILE" .img )_$( basename "$INSTALL_SCRIPT" .sh ).img -CFGOUT=config_$( basename "$INSTALL_SCRIPT" .sh ).txt DBG=x # $IMGOUT will contain the name of the last step @@ -99,7 +98,6 @@ set -e$DBG " echo "Launching installation" echo -e "$PREINST_CODE\n$INSTALLATION_CODE\n$INSTALLATION_STEPS" | ssh_pi "$IP" || { echo "Installation to $IP failed" && return 1; } - echo "configuration saved to $CFGOUT" } function launch_installation_qemu() @@ -189,7 +187,6 @@ function config() done INSTALLATION_CODE="$( sed "$SEDRULE" "$INSTALL_SCRIPT" )" - [[ "$CFGOUT" != "" ]] && echo -e "$CONFIG" > "$CFGOUT" } function install_script() @@ -145,6 +145,9 @@ EOF # images are now tagged test -f /usr/local/etc/ncp-baseimage || echo "untagged" > /usr/local/etc/ncp-baseimage +# remove artifacts +rm -f /usr/local/etc/nextcloudpi-config.d/config_.txt + # restart PHP to get updates in the ncp-web # FIXME: php doesn't come up if run from ncp-web #( |