2021-03-29 08:12:31 -04:00
|
|
|
post_install() {
|
2021-09-07 03:01:35 -04:00
|
|
|
systemctl enable btrfs-balance.timer
|
|
|
|
systemctl enable btrfs-defrag.timer
|
|
|
|
systemctl enable btrfs-scrub.timer
|
|
|
|
systemctl enable btrfs-trim.timer
|
2021-09-19 15:13:59 -04:00
|
|
|
systemctl enable garuda-pacman-lock
|
2021-09-07 03:01:35 -04:00
|
|
|
systemctl enable nohang-desktop
|
|
|
|
systemctl --global enable psd
|
2021-09-12 09:40:46 -04:00
|
|
|
|
2021-09-12 09:28:59 -04:00
|
|
|
sed -i 's|zram_checking_enabled = False|zram_checking_enabled = True|g' /etc/nohang/nohang-desktop.conf
|
2021-07-11 05:42:04 -04:00
|
|
|
}
|
2021-03-29 08:12:31 -04:00
|
|
|
|
|
|
|
post_upgrade() {
|
2021-09-07 03:01:35 -04:00
|
|
|
echo "Attempting to enable services..."
|
|
|
|
systemctl enable btrfs-balance.timer
|
|
|
|
systemctl enable btrfs-defrag.timer
|
|
|
|
systemctl enable btrfs-scrub.timer
|
|
|
|
systemctl enable btrfs-trim.timer
|
2021-09-19 15:13:59 -04:00
|
|
|
systemctl enable garuda-pacman-lock
|
2021-09-07 03:01:35 -04:00
|
|
|
systemctl enable nohang-desktop
|
|
|
|
systemctl --global enable psd
|
2021-09-12 09:40:46 -04:00
|
|
|
|
|
|
|
sed -i 's|zram_checking_enabled = False|zram_checking_enabled = True|g' /etc/nohang/nohang-desktop.conf
|
|
|
|
|
2021-09-07 03:01:35 -04:00
|
|
|
echo "Performing misc postinstall operations..."
|
|
|
|
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
|
|
|
|
fc-cache -s >/dev/null
|
2021-03-29 08:12:31 -04:00
|
|
|
|
2021-09-07 03:01:35 -04:00
|
|
|
glib-compile-schemas usr/share/glib-2.0/schemas
|
|
|
|
gtk-update-icon-cache -ftq usr/share/icons/hicolor
|
|
|
|
/bin/sh -c 'dconf update'
|
2021-03-29 08:12:31 -04:00
|
|
|
}
|