Add back post-update() actions for now, will be removed at later date. Add post-install notice
This commit is contained in:
parent
5b9c915219
commit
7426f066c2
1 changed files with 21 additions and 1 deletions
|
@ -21,6 +21,25 @@ post_install() {
|
||||||
}
|
}
|
||||||
|
|
||||||
post_upgrade() {
|
post_upgrade() {
|
||||||
|
msg "Disable conflicting services..."
|
||||||
|
systemctl is-active systemd-swap >/dev/null || systemctl disable --now systemd-swap
|
||||||
|
systemctl is-active ananicy >/dev/null || systemctl disable --now ananicy
|
||||||
|
systemctl is-active uresourced >/dev/null || systemctl disable --now uresourced
|
||||||
|
systemctl is-active irqbalance >/dev/null || systemctl disable --now irqbalance
|
||||||
|
|
||||||
|
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..."
|
msg "Updating font cache..."
|
||||||
mkfontscale /usr/share/fonts/TTF /usr/share/fonts/OTF /usr/share/fonts/misc > /dev/null 2>&1
|
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
|
mkfontdir /usr/share/fonts/TTF /usr/share/fonts/OTF /usr/share/fonts/misc > /dev/null 2>&1
|
||||||
|
@ -33,6 +52,7 @@ post_upgrade() {
|
||||||
/bin/sh -c 'dconf update'
|
/bin/sh -c 'dconf update'
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
msg "Done!"
|
msg "Done!
|
||||||
|
This update replaces systemd-swap with zram-generator, nohang with systemd-oomd & makes irqbalance, uresourced and ananicy optdepends. If please remove the resulting orphans after this update by using the Garuda Assistant option!"
|
||||||
echo ""
|
echo ""
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue