diff options
Diffstat (limited to 'extra/gdm/gdm.install')
-rw-r--r-- | extra/gdm/gdm.install | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/extra/gdm/gdm.install b/extra/gdm/gdm.install index d43f06c2f..b52027a17 100644 --- a/extra/gdm/gdm.install +++ b/extra/gdm/gdm.install @@ -6,15 +6,16 @@ post_install() { chown root:gdm /var/log/gdm > /dev/null gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor - dconf update } post_upgrade() { post_install + if (( $(vercmp $2 3.12.0) < 0 )); then + rm /etc/dconf/db/gdm + fi } post_remove() { - dconf update gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor getent passwd gdm >/dev/null 2>&1 && userdel gdm |