Update 'docker/MaintenanceNoReboot.sh'

This commit is contained in:
2022-03-23 01:08:23 -06:00
parent d0aa67700d
commit 88c9dd1127

View File

@@ -3,10 +3,9 @@ echo "---------------------------------------------------------------"
echo "Commencing System & Docker Update & Cleanup: `date`" echo "Commencing System & Docker Update & Cleanup: `date`"
echo "---------------------------------------------------------------" echo "---------------------------------------------------------------"
echo "1. Updating Ubuntu" echo "1. Updating Ubuntu"
sudo apt-fast update # Get updates sudo apt-fast update -y # Get updates
sudo apt-fast dist-upgrade # Perform updates sudo apt-fast dist-upgrade -y # Perform updates
echo "Ubuntu Update Complete!" echo "Ubuntu Update Complete!"
sleep 3
echo "---------------------------------------------------------------" echo "---------------------------------------------------------------"
echo "2. Commencing Ubuntu Cleanup" echo "2. Commencing Ubuntu Cleanup"
apt-fast autoclean apt-fast autoclean
@@ -15,9 +14,6 @@ apt-fast clean
echo "The apt cache has been emptied" echo "The apt cache has been emptied"
apt-fast autoremove apt-fast autoremove
echo "Packages installed as dependencies no longer needed have been removed" echo "Packages installed as dependencies no longer needed have been removed"
localepurge
echo "LocalePurge deleted unnecessary local files"
sleep 3
echo "---------------------------------------------------------------" echo "---------------------------------------------------------------"
echo "3. Commencing Docker Pull and Up" echo "3. Commencing Docker Pull and Up"
# Do a pull then an update # Do a pull then an update