blob: 58db3fedf8e522ff0abd9552247b8d5904c14a59 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
_enable_apply_service() {
if command -v systemctl >/dev/null 2>&1; then
systemctl enable raveos-gnome-theme-apply.service >/dev/null 2>&1 || true
fi
}
post_install() {
_enable_apply_service
}
post_upgrade() {
# Never rewrite a live GNOME session from inside a pacman transaction.
# The boot service applies the new payload before the display manager starts.
rm -f /var/lib/raveos-gnome-theme/.applied
_enable_apply_service
}
|