diff --git a/setup/system.sh b/setup/system.sh index 0b51ae26..791f2776 100755 --- a/setup/system.sh +++ b/setup/system.sh @@ -88,16 +88,6 @@ fi hide_output add-apt-repository -y ppa:mail-in-a-box/ppa -# ### Add PHP7 PPA - -# Nextcloud requires PHP7, we will install the ppa from ubuntu php maintainer Ondřej Surý -# The PPA is located here https://launchpad.net/%7Eondrej/+archive/ubuntu/php -# Unattended upgrades are activated for the repository - -hide_output add-apt-repository -y ppa:ondrej/php -apt_add_repository_to_unattended_upgrades LP-PPA-ondrej-php:trusty -hide_output apt-get update - # ### Update Packages # Update system packages to make sure we have the latest upstream versions of things from Ubuntu. @@ -129,6 +119,17 @@ apt_install python3 python3-dev python3-pip \ haveged pollinate unzip \ unattended-upgrades cron ntp fail2ban +# ### Add PHP7 PPA + +# Nextcloud requires PHP7, we will install the ppa from ubuntu php maintainer Ondřej Surý +# The PPA is located here https://launchpad.net/%7Eondrej/+archive/ubuntu/php +# Unattended upgrades are activated for the repository + +hide_output add-apt-repository -y ppa:ondrej/php +apt_add_repository_to_unattended_upgrades LP-PPA-ondrej-php:trusty +hide_output apt-get update + + # ### Suppress Upgrade Prompts # Since Mail-in-a-Box might jump straight to 18.04 LTS, there's no need # to be reminded about 16.04 on every login.