os-upgrade.sh: replace 'apt-get' with 'apt'.

This commit is contained in:
Christoph 2019-12-25 13:16:26 +01:00
parent 724800e67c
commit 011cc0d4ac

View File

@ -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"