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:
Diffstat (limited to 'installer.sh')
-rwxr-xr-xinstaller.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/installer.sh b/installer.sh
index 5d53c8f7..422f9ed8 100755
--- a/installer.sh
+++ b/installer.sh
@@ -35,7 +35,8 @@ 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 )
-source etc/library.sh # initializes $IMGNAME
+source buildlib.sh # initializes $IMGNAME
+source etc/library.sh
test -f "$IMGNAME" && { echo "INFO: $IMGNAME already exists. Skip generation ... "; exit 0; }