mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-15 23:59:25 +01:00
deb-update.bash: add pacman & checkservices
This commit is contained in:
parent
ddf13278bd
commit
4be10493e8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user