|
|
|
@ -5,7 +5,7 @@ |
|
|
|
|
# File Created: Monday, 6th July 2020 11:05:48 am |
|
|
|
|
# Author: Thomas Brinkmann (doyl@dsh.icu) |
|
|
|
|
# ----- |
|
|
|
|
# Last Modified: Monday, 6th July 2020 8:19:25 pm |
|
|
|
|
# Last Modified: Monday, 6th July 2020 8:34:54 pm |
|
|
|
|
# Modified By: Thomas Brinkmann (doyl@dsh.icu>) |
|
|
|
|
# ----- |
|
|
|
|
# Copyright 2020 - Thomas Brinkmann. All Rights Reserved. |
|
|
|
@ -40,7 +40,6 @@ show_spinner() |
|
|
|
|
done |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
randpw(){ < /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-16};echo;} |
|
|
|
|
|
|
|
|
|
#https://download.nextcloud.com/server/releases/nextcloud- |
|
|
|
|
|
|
|
|
@ -54,7 +53,8 @@ download_latestnextcloud(){ |
|
|
|
|
|
|
|
|
|
install_Debian9(){ |
|
|
|
|
echo -e "\n\e[92mInstalling requirements...\e[39m" |
|
|
|
|
apt-get install -y sudo zip unzip curl wget gnupg2 ca-certificates lsb-release apt-transport-https >/dev/null & |
|
|
|
|
apt-get install --yes --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" sudo |
|
|
|
|
apt-get install -y zip unzip curl wget gnupg2 ca-certificates lsb-release apt-transport-https >/dev/null & |
|
|
|
|
show_spinner $! |
|
|
|
|
|
|
|
|
|
echo -e "\n\e[92mInstalling public key & source list...\e[39m" |
|
|
|
|