Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=ryuotesting11.git;a=commitdiff;h=5be84c18a8a78a89babf889260245da0f82ab12a
commit 5be84c18a8a78a89babf889260245da0f82ab12a Author: James Buren <[email protected]> Date: Sun Aug 25 12:44:05 2013 -0500 gdm-3.8.3.1-1-x86_64 * remove scriptlet parts from old systemd schema diff --git a/source/gnome/gdm/gdm.install b/source/gnome/gdm/gdm.install index 4fa927e..d0e8c56 100644 --- a/source/gnome/gdm/gdm.install +++ b/source/gnome/gdm/gdm.install @@ -1,5 +1,3 @@ -systemd_units=(gdm=e) - UpdateIconCache() { if [ -f /usr/bin/gtk-update-icon-cache ] @@ -24,9 +22,6 @@ UpdateIconCache() post_install() { - local unit - local op - /usr/sbin/useradd -M -u 42 -d /var/lib/gdm -s /sbin/nologin -r gdm > /dev/null 2>&1 /usr/sbin/usermod -d /var/lib/gdm -s /sbin/nologin gdm >/dev/null 2>&1 # ignore errors, as we can't disambiguate between gdm already existe @@ -36,14 +31,9 @@ post_install() rarian-sk-update -q > /dev/null 2>&1 echo "done." - /sbin/ldconfig UpdateIconCache glib-compile-schemas /usr/share/glib-2.0/schemas &>/dev/null dconf update - - ln -sf /lib/systemd/system/gdm.service /etc/systemd/system/display-manager.service - - } post_upgrade() @@ -54,13 +44,6 @@ post_upgrade() pre_remove() { - local unit - - for i in ${systemd_units[@]}; do - unit=$(echo $i | cut -f 1 -d '=') - systemctl --no-reload disable $unit.service >/dev/null 2>&1 - systemctl stop $unit.service >/dev/null 2>&1 - done } post_remove() @@ -70,8 +53,6 @@ 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
