änderung der Readme und eintragen des Scripts
This commit is contained in:
parent
fff9610459
commit
da70a42aeb
12
.bashrc
Normal file
12
.bashrc
Normal file
@ -0,0 +1,12 @@
|
||||
# Ans Ende der bereits vorhandenen .bashrc
|
||||
|
||||
sysupdate() {
|
||||
echo "=== Vollständiges System-Update ==="
|
||||
apt-get update && apt-get upgrade -y && apt-get autoremove -y && apt-get autoclean && \
|
||||
flatpak update -y && \
|
||||
(command -v snap >/dev/null && snap refresh) && \
|
||||
(fwupdmgr refresh && fwupdmgr get-updates) || true && \
|
||||
freshclam || true && \
|
||||
journalctl --vacuum-time=30d && \
|
||||
echo "=== Update abgeschlossen ==="
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user