From f0b4cdec50dbfe8ca73e7915dc53f92d8572fcbc Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Fri, 25 Oct 2024 00:16:49 +0800 Subject: [PATCH] shadow 4.16.0-2 --- PKGBUILD | 5 +++-- shadow.install | 8 ++------ 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 25251fb..bde85f6 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -6,7 +6,7 @@ # Maintainer: Future Linux Team pkgname=shadow pkgver=4.16.0 -pkgrel=1 +pkgrel=2 pkgdesc="Password and account management tool suite with support for shadow files and PAM" arch=('x86_64') url="https://github.com/shadow-maint/shadow/" @@ -75,7 +75,8 @@ build() { package() { cd ${pkgname}-${pkgver} - make DESTDIR=${pkgdir} pamddir= install + #make DESTDIR=${pkgdir} pamddir= install + make DESTDIR=${pkgdir} install make -C man DESTDIR=${pkgdir} install-man install -vdm755 ${pkgdir}/etc/default diff --git a/shadow.install b/shadow.install index 9ac5b08..a07a5ea 100644 --- a/shadow.install +++ b/shadow.install @@ -3,12 +3,8 @@ # you don't need (and this header). post_install() { - if [ ! -e etc/gshadow ]; then - usr/sbin/grpconv - fi - if [ ! -e etc/shadow ]; then - usr/sbin/pwconv - fi + /usr/sbin/grpconv + /usr/sbin/pwconv } post_upgrade() {