[arch-commits] Commit in gdm/trunk (PKGBUILD gdm.install)
Ionut Biru
ibiru at archlinux.org
Fri Dec 18 01:32:34 UTC 2009
Date: Thursday, December 17, 2009 @ 20:32:34
Author: ibiru
Revision: 61526
upgpkg: gdm 2.28.2-1
update to 2.28 and fix removal of user and group FS#17191
Modified:
gdm/trunk/PKGBUILD
gdm/trunk/gdm.install
-------------+
PKGBUILD | 6 +++---
gdm.install | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-12-17 23:08:30 UTC (rev 61525)
+++ PKGBUILD 2009-12-18 01:32:34 UTC (rev 61526)
@@ -1,8 +1,8 @@
# $Id$
# Maintainer: Jan de Groot <jgc at archlinux.org>
pkgname=gdm
-pkgver=2.28.1
-pkgrel=2
+pkgver=2.28.2
+pkgrel=1
pkgdesc="Gnome Display Manager (a reimplementation of xdm)"
arch=(i686 x86_64)
license=('GPL')
@@ -21,7 +21,7 @@
gdm.pam
gdm-autologin.pam
gdm)
-sha256sums=('da77a6fd9d4cc76b68dd4354839f953f8df5fb7921c7777b80256916533a3e7a'
+sha256sums=('0165b4bf70e4a6d41d9e42877840805890c438bd655805b961e51adccbd9602a'
'd41b0945a3db78a06b5aa4101f5515f7ea5d57e70974681c23e5def1df1834bb'
'43da7afea3997939f8f804274a75c2b4dc1e5a9a4987e9e3c58be5f3383332dc'
'f1dfa4d88288d4b0a631a68a51b46c2da537bee8fe5a99f9f288c8ff75a50b19'
Modified: gdm.install
===================================================================
--- gdm.install 2009-12-17 23:08:30 UTC (rev 61525)
+++ gdm.install 2009-12-18 01:32:34 UTC (rev 61526)
@@ -3,7 +3,7 @@
post_install() {
getent group gdm >/dev/null 2>&1 || groupadd -g 120 gdm
if getent passwd gdm > /dev/null 2>&1; then
- usr/sbin/usermod -d /var/lib/gdm -c 'Gnome Display Manager' -s /sbin/nologin gdm > /dev/null
+ usr/sbin/usermod -d /var/lib/gdm -c 'Gnome Display Manager' -s /sbin/nologin gdm > /dev/null 2>&1
else
usr/sbin/useradd -c 'Gnome Display Manager' -u 120 -g gdm -d /var/lib/gdm -s /sbin/nologin gdm
fi
@@ -39,6 +39,6 @@
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
+ getent passwd gdm >/dev/null 2>&1 && userdel gdm
+ getent group gdm >/dev/null 2>&1 && groupdel gdm
}
More information about the arch-commits
mailing list