silence apt-get update

This commit is contained in:
enoch85 2016-06-14 18:05:08 +02:00
parent 3e19126116
commit a5f0f096d4
7 changed files with 14 additions and 14 deletions

View File

@ -167,7 +167,7 @@ else
fi
# Update system
apt-get update
apt-get update -q2
# Set locales
apt-get install language-pack-en-base -y
@ -227,7 +227,7 @@ sudo hostnamectl set-hostname nextcloud
service apache2 restart
# Install PHP 7.0
apt-get update
apt-get update -q2
apt-get install -y \
php \
php-mcrypt \
@ -239,7 +239,7 @@ apt-get install -y \
wget -nv $NCREPOKEY -O Release.key
apt-key add - < Release.key && rm Release.key
sh -c "echo 'deb $NCREPO/ /' >> /etc/apt/sources.list.d/nextcloud.list"
apt-get update && apt-get install nextcloud -y
apt-get update -q2 && apt-get install nextcloud -y
mkdir -p $NCDATA
@ -397,7 +397,7 @@ apt-get install -y zip perl libnet-ssleay-perl openssl libauthen-pam-perl libpam
# Install Webmin
sed -i '$a deb http://download.webmin.com/download/repository sarge contrib' /etc/apt/sources.list
wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -
apt-get update
apt-get update -q2
apt-get install webmin -y
# Add extra security

View File

@ -26,7 +26,7 @@ else
fi
# System Upgrade
sudo apt-get update
sudo apt-get update -q2
sudo aptitude full-upgrade -y
sudo -u www-data php $NCPATH/occ upgrade

View File

@ -18,7 +18,7 @@ else mkdir -p $SCRIPTS
fi
# Get packages to be able to install Redis
apt-get update && sudo apt-get install build-essential -q -y
apt-get update -q2 && sudo apt-get install build-essential -q -y
apt-get install tcl8.5 -q -y
apt-get install php-pear php7.0-dev -q -y
@ -154,7 +154,7 @@ apt-get purge -y \
make \
manpages-dev
apt-get update
apt-get update -q2
apt-get autoremove -y
apt-get autoclean

View File

@ -41,7 +41,7 @@ echo 'phpmyadmin phpmyadmin/app-password-confirm password $PW_FILE' | debconf-se
echo 'phpmyadmin phpmyadmin/mysql/admin-pass password $PW_FILE' | debconf-set-selections
echo 'phpmyadmin phpmyadmin/mysql/app-pass password $PW_FILE' | debconf-set-selections
echo 'phpmyadmin phpmyadmin/reconfigure-webserver multiselect apache2' | debconf-set-selections
apt-get update
apt-get update -q2
apt-get install -y -q \
php-gettext \
phpmyadmin

View File

@ -30,7 +30,7 @@ else mkdir -p $SCRIPTS
fi
# Get packages to be able to install Redis
apt-get update && sudo apt-get install build-essential -q -y
apt-get update -q2 && sudo apt-get install build-essential -q -y
apt-get install tcl8.5 -q -y
apt-get install php-pear php7.0-dev -q -y
@ -110,7 +110,7 @@ apt-get purge -y \
php7.0-dev* \
build-essential*
apt-get update
apt-get update -q2
apt-get autoremove -y
apt-get autoclean

View File

@ -317,7 +317,7 @@ echo System will now upgrade...
sleep 2
echo
echo
apt-get update
apt-get update -q2
aptitude full-upgrade -y
# Cleanup 1

View File

@ -160,7 +160,7 @@ else
fi
# Update system
apt-get update
apt-get update -q2
# Set locales
apt-get install language-pack-en-base -y
@ -220,7 +220,7 @@ sudo hostnamectl set-hostname nextcloud
service apache2 restart
# Install PHP 7.0
apt-get update
apt-get update -q2
apt-get install -y \
libapache2-mod-php7.0 \
php7.0-common \
@ -401,7 +401,7 @@ apt-get install -y zip perl libnet-ssleay-perl openssl libauthen-pam-perl libpam
# Install Webmin
sed -i '$a deb http://download.webmin.com/download/repository sarge contrib' /etc/apt/sources.list
wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -
apt-get update
apt-get update -q2
apt-get install webmin -y
# Add extra security