From efed5df57b994637a6033eee6d2b914eaf56d553 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 14 Nov 2019 20:29:45 -0600 Subject: [PATCH] Add 'install-nextcloud.ah' --- install-nextcloud.ah | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 install-nextcloud.ah diff --git a/install-nextcloud.ah b/install-nextcloud.ah new file mode 100644 index 0000000..c6626d8 --- /dev/null +++ b/install-nextcloud.ah @@ -0,0 +1,19 @@ +#!/usr/bin/env bash +# Wrapper script for install, for easier execution via URL. + +source /dev/stdin <<< "$(curl -sL http://scity.xyz/colorsinc)" +source /dev/stdin <<< "$(curl -sL http://scity.xyz/defaultinc)" + + +echo "" +echo -e "${idsCL[LightGreen]}Nextcloud Installation Script${idsCL[Default]}" + +do_with_root $APTFUNC -y install wget curl git + +do_with_root set -eu +do_with_root git clone https://git.schroedercity.com/voltron/Nextcloud-Install.git /opt/idssys/Nextcloud-Install + +do_with_root bash /opt/idssys/Nextcloud-Install/nextcloud_install_production.sh + + +exit 0 \ No newline at end of file