From 011cc0d4ac0205315287a09464213ee4403dba1e Mon Sep 17 00:00:00 2001 From: Christoph Date: Wed, 25 Dec 2019 13:16:26 +0100 Subject: [PATCH] os-upgrade.sh: replace 'apt-get' with 'apt'. --- os-upgrade.sh | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/os-upgrade.sh b/os-upgrade.sh index 14fe411..c41997d 100755 --- a/os-upgrade.sh +++ b/os-upgrade.sh @@ -1,9 +1,14 @@ #!/usr/bin/env bash -apt-get update -apt-get dist-upgrade -y -apt-get autoremove -y -apt-get clean +#apt-get update +#apt-get dist-upgrade -y +#apt-get autoremove -y +#apt-get clean + +apt update -y +apt dist-upgrade -y +apt autoremove -y +apt clean if [[ -f "/var/run/reboot-required" ]]; then echo -e "\n\t[ \033[31m\033[1m Reboot required! \033[m\033[m ]\n"