Files
Misc-Scripts/install-nextcloud.ah
2023-05-06 10:11:04 -05:00

24 lines
699 B
Bash

#!/usr/bin/env bash
# Wrapper script for install, for easier execution via URL.
if [ -d /opt/idssys/defaults ]; then
source /opt/idssys/defaults/colors.inc
source /opt/idssys/defaults/default.inc
else
source /dev/stdin <<< "$(curl -sL http://go.scity.us/colorsinc)"
source /dev/stdin <<< "$(curl -sL http://go.scity.us/defaultinc)"
fi
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