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>2018-04-23 21:09:15 +0300
committernachoparker <nacho@ownyourbits.com>2018-04-23 23:32:12 +0300
commit879b8a4ba3c5ebb42e4693285ea5b047cbbdefd2 (patch)
tree743bcb43e1dd06a6f1acd7fb507ffdc498ef0722 /install.sh
parent83fd26438beb1a894cb3986668144a4f63fb3e74 (diff)
armbian: fix root SSH in build and other fixes
Diffstat (limited to 'install.sh')
-rw-r--r--install.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/install.sh b/install.sh
index d265e1c0..a8b96960 100644
--- a/install.sh
+++ b/install.sh
@@ -9,7 +9,8 @@
#
# more details at https://ownyourbits.com
-#DBG=x
+BRANCH=master
+DBG=x
set -e$DBG
@@ -37,10 +38,10 @@ apt-get install --no-install-recommends -y wget ca-certificates sudo
rm -rf "$TMPDIR" && mkdir "$TMPDIR" && cd "$TMPDIR"
wget -O- --no-check-certificate --content-disposition \
- https://github.com/nextcloud/nextcloudpi/archive/master/latest.tar.gz \
+ https://github.com/nextcloud/nextcloudpi/archive/"$BRANCH"/latest.tar.gz \
| tar -xz \
|| exit 1
-cd - && cd "$TMPDIR"/nextcloudpi-master
+cd - && cd "$TMPDIR"/nextcloudpi-"$BRANCH"
# install NCP
echo -e "\nInstalling NextCloudPlus"