Date: Tuesday, January 9, 2018 @ 19:12:30 Author: bgyorgy Revision: 280749
upgpkg: gnome-initial-setup 3.26.0-2 Switch to systemd-sysusers Modified: gnome-initial-setup/trunk/PKGBUILD Deleted: gnome-initial-setup/trunk/gnome-initial-setup.install -----------------------------+ PKGBUILD | 7 +++++-- gnome-initial-setup.install | 9 --------- 2 files changed, 5 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-01-09 18:35:28 UTC (rev 280748) +++ PKGBUILD 2018-01-09 19:12:30 UTC (rev 280749) @@ -3,7 +3,7 @@ pkgname=gnome-initial-setup pkgver=3.26.0 -pkgrel=1 +pkgrel=2 pkgdesc="Simple, easy, and safe way to prepare a new system" arch=('x86_64') url="http://www.gnome.org/" @@ -13,7 +13,6 @@ makedepends=('intltool' 'python2') optdepends=('gdm: GDM Initial Setup mode' 'gnome-getting-started-docs: GNOME Welcome Tour') -install=$pkgname.install source=(https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) sha256sums=('65a9d5de028306e8bd017d9ae6525f46ea9ff36a0e02ddbca7fb17759be60c39') @@ -27,4 +26,8 @@ cd $pkgname-$pkgver make DESTDIR="$pkgdir" install install -d -o root -g 102 -m 750 "$pkgdir/usr/share/polkit-1/rules.d" + + # Setup system user and group + install -dm755 "$pkgdir/usr/lib/sysusers.d" + echo 'u gnome-initial-setup - "GNOME Initial Setup" /run/gnome-initial-setup' > "$pkgdir/usr/lib/sysusers.d/$pkgname.conf" } Deleted: gnome-initial-setup.install =================================================================== --- gnome-initial-setup.install 2018-01-09 18:35:28 UTC (rev 280748) +++ gnome-initial-setup.install 2018-01-09 19:12:30 UTC (rev 280749) @@ -1,9 +0,0 @@ -post_install() { - getent passwd gnome-initial-setup > /dev/null 2>&1 && \ - usermod -L -c 'GNOME Initial Setup' -d /run/gnome-initial-setup -s /sbin/nologin gnome-initial-setup > /dev/null 2>&1 || \ - useradd -rM -c 'GNOME Initial Setup' -d /run/gnome-initial-setup -s /sbin/nologin gnome-initial-setup -} - -post_upgrade() { - post_install -}