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-03-29 19:33:55 +0300
committernachoparker <nacho@ownyourbits.com>2017-03-31 18:42:32 +0300
commit75b42680feb34185107c6ebeae6162ec26f07f48 (patch)
treedb1b1dd3d200ecbfd74df60827f268685cfe218e /installer.sh
parent7aa9c1c0910901b4f93b5307a3c42e1e340f2aef (diff)
ncp updates and motd. structure directoriesv0.1.0
Diffstat (limited to 'installer.sh')
-rwxr-xr-xinstaller.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/installer.sh b/installer.sh
index af1f04e2..ac538aff 100755
--- a/installer.sh
+++ b/installer.sh
@@ -35,15 +35,13 @@
INSTALL_SCRIPT=$1 # First argument is the script to be run inside Raspbian
IP=$2 # Second argument is the QEMU Raspbian IP address
IMGFILE=$3 # Third argument is the image file to start from ( empty for online installation )
-CONFDIR=/usr/local/etc/nextcloudpi-config.d/
-source library.sh # initializes $IMGNAME
+source etc/library.sh # initializes $IMGNAME
config $INSTALL_SCRIPT || exit 1
if [[ "$IMGFILE" != "" ]]; then
- launch_install_qemu "$IMGFILE" $IP || exit 1 # initializes $IMGOUT
- copy_to_image "$IMGOUT" $CONFDIR $INSTALL_SCRIPT || exit 1
+ launch_install_qemu "$IMGFILE" $IP || exit 1 # initializes $IMGOUT
pack_image "$IMGOUT" "$IMGNAME"
else
launch_installation_online $IP