diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-03-24 11:05:09 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-03-24 11:05:09 +0100 |
commit | a98f27a2a1e717afe20483ffa974d542cf80f4d9 (patch) | |
tree | 9e0b5e5e61843b4b7135423f5151e1f595d47193 /gnome-unstable/gdm/gdm.install | |
parent | 9865b00e684520710b6f685aae18fe7681396b65 (diff) | |
parent | adac5afd500d4ee3a65035e1cf5353ae236b4a61 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/ocaml-findlib/PKGBUILD
gnome-unstable/clutter/PKGBUILD
gnome-unstable/gcalctool/PKGBUILD
gnome-unstable/gnome-screensaver/PKGBUILD
gnome-unstable/gnome-screensaver/gnome-screensaver.pam
gnome-unstable/pygobject/PKGBUILD
kde-unstable/calligra/PKGBUILD
Diffstat (limited to 'gnome-unstable/gdm/gdm.install')
-rw-r--r-- | gnome-unstable/gdm/gdm.install | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/gnome-unstable/gdm/gdm.install b/gnome-unstable/gdm/gdm.install deleted file mode 100644 index c48faf4ae..000000000 --- a/gnome-unstable/gdm/gdm.install +++ /dev/null @@ -1,30 +0,0 @@ -pkgname=gdm - -post_install() { - getent group gdm >/dev/null 2>&1 || groupadd -g 120 gdm - getent passwd gdm > /dev/null 2>&1 || usr/sbin/useradd -c 'Gnome Display Manager' -u 120 -g gdm -d /var/lib/gdm -s /sbin/nologin gdm - passwd -l gdm > /dev/null - chown -R gdm:gdm /var/lib/gdm > /dev/null - - glib-compile-schemas /usr/share/glib-2.0/schemas - gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor - dconf update -} - -pre_upgrade() { - if [ -f /usr/share/gconf/schemas/${pkgname}.schemas ]; then - gconfpkg --uninstall ${pkgname} - fi -} - -post_upgrade() { - post_install -} - -post_remove() { - glib-compile-schemas /usr/share/glib-2.0/schemas - dconf update - gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor - getent passwd gdm >/dev/null 2>&1 && userdel gdm - getent group gdm >/dev/null 2>&1 && groupdel gdm -} |