From 3c7a581328ee4c47cf988d25d1fae08629dcbcab Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 31 Jan 2022 22:02:05 +0000 Subject: fixed installing to wrong place for shadow --- repo/system/shadow.xibuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'repo/system') diff --git a/repo/system/shadow.xibuild b/repo/system/shadow.xibuild index d01252c..1daafc3 100644 --- a/repo/system/shadow.xibuild +++ b/repo/system/shadow.xibuild @@ -172,8 +172,8 @@ EOF for PROGRAM in chfn chgpasswd chsh groupadd groupdel \ groupmems groupmod useradd userdel usermod do - install -v -m644 $PKG_DEST/etc/pam.d/chage /etc/pam.d/${PROGRAM} - sed -i "s/chage/$PROGRAM/" /etc/pam.d/${PROGRAM} + install -v -m644 $PKG_DEST/etc/pam.d/chage $PKG_DEST/etc/pam.d/${PROGRAM} + sed -i "s/chage/$PROGRAM/" $PKG_DEST/etc/pam.d/${PROGRAM} done [ -f $PKG_DEST/etc/login.access ] && mv -v $PKG_DEST/etc/login.access{,.NOUSE} -- cgit v1.2.1