mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
remove config txt output
This commit is contained in:
parent
ef402e736b
commit
c20649d625
@ -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
|
||||
#(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user