[arch-commits] Commit in gnome-initial-setup/trunk (2 files)
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 === --- PKGBUILD2016-08-03 13:05:02 UTC (rev 184989) +++ PKGBUILD2016-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() {
[arch-commits] Commit in gnome-initial-setup/trunk (2 files)
Date: Sunday, January 22, 2017 @ 18:47:26 Author: bgyorgy Revision: 208424 upgpkg: gnome-initial-setup 3.22.1-2 Use /run/gnome-initial-setup as home directory (FS#52580) Modified: gnome-initial-setup/trunk/PKGBUILD gnome-initial-setup/trunk/gnome-initial-setup.install -+ PKGBUILD|2 +- gnome-initial-setup.install |7 ++- 2 files changed, 3 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-01-22 17:59:29 UTC (rev 208423) +++ PKGBUILD2017-01-22 18:47:26 UTC (rev 208424) @@ -3,7 +3,7 @@ pkgname=gnome-initial-setup pkgver=3.22.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/"; Modified: gnome-initial-setup.install === --- gnome-initial-setup.install 2017-01-22 17:59:29 UTC (rev 208423) +++ gnome-initial-setup.install 2017-01-22 18:47:26 UTC (rev 208424) @@ -1,10 +1,7 @@ post_install() { getent passwd 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 - 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 +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() {
[arch-commits] Commit in gnome-initial-setup/trunk (2 files)
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 === --- PKGBUILD2018-01-09 18:35:28 UTC (rev 280748) +++ PKGBUILD2018-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 -}