From e95de2be5d373afbf3385c20a4c47472dcfb28fa Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Thu, 16 Mar 2017 00:06:12 +0100 Subject: [PATCH] actually install apt-select (#173) --- nextcloud-startup-script.sh | 3 ++- nextcloud_install_production.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/nextcloud-startup-script.sh b/nextcloud-startup-script.sh index 9bff253b..c17c0e13 100644 --- a/nextcloud-startup-script.sh +++ b/nextcloud-startup-script.sh @@ -92,7 +92,8 @@ else apt update -q2 apt install python-pip -y pip install \ - --upgrade pip + --upgrade pip \ + apt-select apt-select -m up-to-date -t 5 -c sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup && \ if [ -f sources.list ] diff --git a/nextcloud_install_production.sh b/nextcloud_install_production.sh index f5f69dd8..00beecf7 100644 --- a/nextcloud_install_production.sh +++ b/nextcloud_install_production.sh @@ -207,7 +207,8 @@ else apt update -q2 apt install python-pip -y pip install \ - --upgrade pip + --upgrade pip \ + apt-select apt-select -m up-to-date -t 5 -c sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup && \ if [ -f sources.list ]