11 lines
372 B
Bash
Executable file
11 lines
372 B
Bash
Executable file
#!/bin/dash
|
|
|
|
[ "$(lsb_release -si)" = "Artix" ] && paru
|
|
[ "$(lsb_release -si)" = "Fedora" ] && sudo dnf upgrade
|
|
|
|
command -v flatpak >/dev/null 2>&1 && { echo; flatpak update; }
|
|
command -v npm >/dev/null 2>&1 && { echo; npm up -g; }
|
|
command -v docker >/dev/null 2>&1 && { echo; docker images | awk '(NR>1) && ($2!~/none/) {print $1":"$2}' | xargs -l docker pull; }
|
|
|
|
exit 0
|