diff --git a/bash/deb-update.bash b/bash/deb-update.bash index 6f05029..372b4f4 100755 --- a/bash/deb-update.bash +++ b/bash/deb-update.bash @@ -60,6 +60,16 @@ if hash dnf 2> /dev/null; then dnf -v "$@" autoremove fi +# Arch Linux package management +if hash pacman 2> /dev/null; then + pacman -Syu + + # weekly cache cleanup service + if hash paccache 2> /dev/null; then + systemctl enable paccache.timer + fi +fi + # https://github.com/Homebrew/brew if [[ -d /home/linuxbrew/.linuxbrew/bin && $(id -u) != 0 ]]; then eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) @@ -129,6 +139,12 @@ if hash needrestart 2> /dev/null; then sleep 5 fi +# archlinux-contrib +if hash checkservices 2> /dev/null; then + checkservices + sleep 5 +fi + # Sedric workaround, located in this repo. I trust /root/ if [ -f /root/fixgrub.bash ]; then . /root/fixgrub.bash