[arch-commits] Commit in gnome-initial-setup/trunk (2 files)
Balló György
bgyorgy at archlinux.org
Wed Aug 3 13:09:14 UTC 2016
Date: Wednesday, August 3, 2016 @ 13:09:13
Author: bgyorgy
Revision: 184990
upgpkg: gnome-initial-setup 3.20.1-2
Don't remove home directory on uninstall (FS#49555)
Modified:
gnome-initial-setup/trunk/PKGBUILD
gnome-initial-setup/trunk/gnome-initial-setup.install
-----------------------------+
PKGBUILD | 3 +--
gnome-initial-setup.install | 6 ++++--
2 files changed, 5 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-08-03 13:05:02 UTC (rev 184989)
+++ PKGBUILD 2016-08-03 13:09:13 UTC (rev 184990)
@@ -3,7 +3,7 @@
pkgname=gnome-initial-setup
pkgver=3.20.1
-pkgrel=1
+pkgrel=2
pkgdesc="Simple, easy, and safe way to prepare a new system"
arch=('i686' 'x86_64')
url="http://www.gnome.org/"
@@ -26,6 +26,5 @@
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
- mkdir -p "$pkgdir/var/lib/gnome-initial-setup"
install -d -o root -g 102 -m 750 "$pkgdir/usr/share/polkit-1/rules.d"
}
Modified: gnome-initial-setup.install
===================================================================
--- gnome-initial-setup.install 2016-08-03 13:05:02 UTC (rev 184989)
+++ gnome-initial-setup.install 2016-08-03 13:09:13 UTC (rev 184990)
@@ -1,8 +1,10 @@
post_install() {
getent passwd gnome-initial-setup > /dev/null 2>&1 && \
- usermod -c 'GNOME Initial Setup' -d /var/lib/gnome-initial-setup -s /sbin/nologin gnome-initial-setup > /dev/null 2>&1 || \
+ usermod -L -c 'GNOME Initial Setup' -d /var/lib/gnome-initial-setup -s /sbin/nologin gnome-initial-setup > /dev/null 2>&1 || \
useradd -rM -c 'GNOME Initial Setup' -d /var/lib/gnome-initial-setup -s /sbin/nologin gnome-initial-setup
- passwd -l gnome-initial-setup > /dev/null
+ mkdir -p /var/lib/gnome-initial-setup
+ chown gnome-initial-setup:gnome-initial-setup /var/lib/gnome-initial-setup
+ chmod 700 /var/lib/gnome-initial-setup
}
post_upgrade() {
More information about the arch-commits
mailing list