mirror of
https://github.com/brunofontes/linuxShortcuts.git
synced 2024-11-23 19:00:51 +00:00
Added a Basic apt-get updater
This commit is contained in:
parent
2c4b27430e
commit
6a997f022f
23
apt-get/update.sh
Executable file
23
apt-get/update.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user