fkin just work now... please
This commit is contained in:
parent
d8e73040bc
commit
0d7c1902c1
@ -1,20 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
updateSystem() {
|
||||
noconfirm=
|
||||
if [[ $1 == "-y" ]]; then
|
||||
noconfirm="--assume-yes"
|
||||
fi
|
||||
full=
|
||||
if [[ $2 == "--full" ]]; then
|
||||
full="full-"
|
||||
fi
|
||||
executeAndNotify "doUpdateSystem $noconfirm $full" "system updated" "system update failed";
|
||||
}
|
||||
|
||||
|
||||
doUpdateSystem() {
|
||||
sudo apt update;
|
||||
sudo apt ${2}upgrade $1;
|
||||
sudo apt autoremove $1;
|
||||
}
|
Loading…
Reference in New Issue
Block a user