diff --git a/garuda-common-settings.install b/garuda-common-settings.install index b2e8631..6f647cf 100644 --- a/garuda-common-settings.install +++ b/garuda-common-settings.install @@ -21,19 +21,6 @@ post_install() { } post_upgrade() { - msg "Attempting to enable services..." - systemctl is-active btrfs-balance.timer >/dev/null || systemctl enable btrfs-balance.timer - systemctl is-active btrfs-defrag.timer >/dev/null || systemctl enable btrfs-defrag.timer - systemctl is-active btrfs-scrub.timer >/dev/null || systemctl enable btrfs-scrub.timer - systemctl is-active btrfs-trim.timer >/dev/null || systemctl enable btrfs-trim.timer - systemctl is-active fstrim.timer >/dev/null || systemctl enable fstrim.timer - systemctl is-active grub-btrfs.path >/dev/null || systemctl enable grub-btrfs.path - systemctl is-active haveged >/dev/null || systemctl enable haveged - systemctl is-active memavaild >/dev/null || systemctl enable memavaild - systemctl is-active preload >/dev/null || systemctl enable preload - systemctl is-active prelockd >/dev/null || systemctl enable prelockd - systemctl is-active systemd-oomd >/dev/null || systemctl enable systemd-oomd - msg "Updating font cache..." mkfontscale /usr/share/fonts/TTF /usr/share/fonts/OTF /usr/share/fonts/misc > /dev/null 2>&1 mkfontdir /usr/share/fonts/TTF /usr/share/fonts/OTF /usr/share/fonts/misc > /dev/null 2>&1 diff --git a/usr/bin/update b/usr/bin/update index 589a5f3..d147340 100755 --- a/usr/bin/update +++ b/usr/bin/update @@ -16,7 +16,7 @@ echo "" # Check for keyring update & update as needed echo "Checking for keyring update, then update as needed.." -if pacman -Qs blackarch-keyring; then +if pacman -Qq blackarch-keyring; then sudo pacman -Sy archlinux-keyring blackarch-keyring chaotic-keyring --needed && $upd_cmd else sudo pacman -Sy archlinux-keyring chaotic-keyring --needed && $upd_cmd fi