Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=ryuotesting11.git;a=commitdiff;h=a5ceacd1d70a2c870484dc1a47b5649b1f0badc6
commit a5ceacd1d70a2c870484dc1a47b5649b1f0badc6 Author: James Buren <[email protected]> Date: Sun Aug 25 15:18:27 2013 -0500 gdm-3.8.3.1-2-x86_64 * add display manager stuff to scriptlet diff --git a/source/gnome/gdm/FrugalBuild b/source/gnome/gdm/FrugalBuild index 52d8b6f..fa2d025 100644 --- a/source/gnome/gdm/FrugalBuild +++ b/source/gnome/gdm/FrugalBuild @@ -6,7 +6,7 @@ options+=('asneeded') pkgname=gdm pkgver=3.8.3.1 -pkgrel=1 +pkgrel=2 pkgdesc="GNOME Display Manager" url="http://www.gnome.org/" backup=(etc/gdm/custom.conf etc/pam.d/gdm etc/pam.d/gdm-autologin \ diff --git a/source/gnome/gdm/gdm.install b/source/gnome/gdm/gdm.install index d0e8c56..b3c8fea 100644 --- a/source/gnome/gdm/gdm.install +++ b/source/gnome/gdm/gdm.install @@ -34,16 +34,23 @@ post_install() UpdateIconCache glib-compile-schemas /usr/share/glib-2.0/schemas &>/dev/null dconf update + + if [ ! -h /etc/systemd/system/display-manager.service ]; then + systemctl enable gdm.service + fi } post_upgrade() { post_install + + systemctl daemon-reload >/dev/null 2>&1 } pre_remove() { + systemctl --no-reload disable gdm.service >/dev/null 2>&1 } post_remove() @@ -53,6 +60,7 @@ post_remove() echo "done." dconf update UpdateIconCache + systemctl daemon-reload >/dev/null 2>&1 } op=$1 _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
