sync/home_external/.bash_aliases_extra

10 lines
176 B
Bash

updateSystem() {
noconfirm=
if [[ $1 == "-y" ]]; then
noconfirm="-y"
fi
sudo apt update;
sudo apt upgrade $noconfirm;
sudo apt autoremove $noconfirm;
}