diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-05-28 05:45:55 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-05-28 05:45:55 +0000 |
commit | 4d22176132f4a830ab0cc510dabbc9f8c1c362ea (patch) | |
tree | 9f97e7a21013e7ed7de7edb5426650be3a7b73e3 /testing/gdm/gdm.install | |
parent | 33feb015eb09eee76827f359e685fce981d88111 (diff) |
Sat May 28 05:45:54 UTC 2011
Diffstat (limited to 'testing/gdm/gdm.install')
-rw-r--r-- | testing/gdm/gdm.install | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/testing/gdm/gdm.install b/testing/gdm/gdm.install deleted file mode 100644 index 6cd981d77..000000000 --- a/testing/gdm/gdm.install +++ /dev/null @@ -1,27 +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 - - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor - gconfpkg --install ${pkgname} -} - -pre_remove() { - if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then - gconfpkg --uninstall ${pkgname} - fi -} - -post_upgrade() { - post_install -} - -post_remove() { - 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 -} |