tidy output

This commit is contained in:
Andrejus
2020-02-26 17:11:28 +00:00
parent 4199ec7c35
commit c0214e73ad
8 changed files with 17 additions and 11 deletions

View File

@@ -4,20 +4,20 @@
#
update() {
sudo apt-get update -y
sudo apt-get update -qqy
}
# Non-interactive upgrade
upgrade() {
DEBIAN_FRONTEND=noninteractive \
sudo apt-get upgrade -y \
sudo apt-get upgrade -qqy \
-o Dpkg::Options::="--force-confdef" \
-o Dpkg::Options::="--force-confold"
}
# @arg $1 packages to install
install() {
sudo apt-get install -y $1
sudo apt-get install -qqy $1
}
# @arg $1 repository to add