From 7b3fe1389b6fa6e006ec9fe97698fc3e6b980f4a Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Mon, 12 Dec 2016 01:58:16 +0100 Subject: [PATCH] locate the best mirrors --- nextcloud_install_production.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/nextcloud_install_production.sh b/nextcloud_install_production.sh index 0d22de48..bc5b93a6 100644 --- a/nextcloud_install_production.sh +++ b/nextcloud_install_production.sh @@ -193,6 +193,18 @@ else fi clear +echo "Locating the best mirrors..." +apt update -q2 +apt install -y \ + git + python-pip +pip install \ + --upgrade pip + apt-select +apt-select +sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup && \ +sudo mv sources.list /etc/apt/ + # Set keyboard layout echo "Current keyboard layout is Swedish" echo "You must change keyboard layout to your language"