From 6a997f022f251ae91c3ea802b21e91e400ef8cff Mon Sep 17 00:00:00 2001 From: Bruno Fontes Date: Mon, 11 Jun 2018 13:44:55 -0300 Subject: [PATCH] Added a Basic apt-get updater --- apt-get/update.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 apt-get/update.sh diff --git a/apt-get/update.sh b/apt-get/update.sh new file mode 100755 index 0000000..41ffa7e --- /dev/null +++ b/apt-get/update.sh @@ -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