mirror of
https://github.com/zebrajr/HomeLab.git
synced 2026-01-15 12:15:06 +00:00
11 lines
272 B
Bash
Executable File
11 lines
272 B
Bash
Executable File
echo Updating...
|
|
start=`date +%s`
|
|
sudo apt update -y &> /dev/null &&
|
|
echo Upgrading...
|
|
sudo apt upgrade -y &> /dev/null &&
|
|
echo Removing Old Packages...
|
|
sudo apt auto-remove -y &> /dev/null
|
|
end=`date +%s`
|
|
runtime=$((end-start))
|
|
echo Total Update Time: ${runtime} seconds!
|