Added a Basic apt-get updater

This commit is contained in:
Bruno Fontes 2018-06-11 13:44:55 -03:00
parent 2c4b27430e
commit 6a997f022f

23
apt-get/update.sh Executable file
View File

@ -0,0 +1,23 @@
#!/usr/bin/env bash
echo Update:
apt-get -y update
echo
echo
echo Upgrade:
apt-get -y upgrade || exit 1
echo
echo
echo Dist-upgrade:
apt-get -y dist-upgrade
echo
echo
echo AutoRemove:
apt-get -y autoremove
echo
echo
echo Clean
apt-get -y clean
echo
echo
echo Autoclean
apt-get -y autoclean