undo qq and fix docker output

This commit is contained in:
Andrejus
2020-02-26 17:14:25 +00:00
parent 4420b21b57
commit 6fd120a082
2 changed files with 4 additions and 4 deletions

View File

@@ -42,7 +42,7 @@ if not_installed "docker-compose"; then
# Docker-compose
readonly docker_compose_url="https://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(uname -s)-$(uname -m)"
curl -L "$docker_compose_url" -o /usr/local/bin/docker-compose
sudo curl -L "$docker_compose_url" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
fi

View File

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