[arch-commits] Commit in gdm/trunk (PKGBUILD gdm.install)
Jan Steffens
heftig at archlinux.org
Sat Sep 14 12:22:50 UTC 2019
Date: Saturday, September 14, 2019 @ 12:22:49
Author: heftig
Revision: 362738
3.34.0-2: Ensure account is not expired
Modified:
gdm/trunk/PKGBUILD
gdm/trunk/gdm.install
-------------+
PKGBUILD | 2 +-
gdm.install | 6 ++++++
2 files changed, 7 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-09-14 12:00:29 UTC (rev 362737)
+++ PKGBUILD 2019-09-14 12:22:49 UTC (rev 362738)
@@ -4,7 +4,7 @@
pkgbase=gdm
pkgname=(gdm libgdm)
pkgver=3.34.0
-pkgrel=1
+pkgrel=2
pkgdesc="Display manager and login screen"
url="https://wiki.gnome.org/Projects/GDM"
arch=(x86_64)
Modified: gdm.install
===================================================================
--- gdm.install 2019-09-14 12:00:29 UTC (rev 362737)
+++ gdm.install 2019-09-14 12:22:49 UTC (rev 362738)
@@ -8,4 +8,10 @@
fi
}
+post_upgrade() {
+ if (( $(vercmp $2 3.34.0-2) < 0 )); then
+ usermod --expiredate= gdm >/dev/null
+ fi
+}
+
# vim:set ft=sh sw=2 et:
More information about the arch-commits
mailing list