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-09-11 15:35:32 +0300
committernachoparker <nacho@ownyourbits.com>2017-09-11 18:36:50 +0300
commitc20649d6257ad749b15aee9f6e88970af153ea8b (patch)
treeb09a6e9dd211ef205155f148a5838d2e62fd4624
parentef402e736b1d6fac06d9e0086a8e6e5d44c5eb09 (diff)
remove config txt outputv0.26.29
-rwxr-xr-xetc/library.sh3
-rwxr-xr-xupdate.sh3
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()
diff --git a/update.sh b/update.sh
index 6dae267e..cb382e6b 100755
--- a/update.sh
+++ b/update.sh
@@ -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
#(