summaryrefslogtreecommitdiff
path: root/repo/system
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-31 22:02:05 +0000
committerdavidovski <david@davidovski.xyz>2022-01-31 22:02:05 +0000
commit3c7a581328ee4c47cf988d25d1fae08629dcbcab (patch)
treef2fa8f63356cbe2272ca40963c48336a92abf433 /repo/system
parente935396a6c8dffa9be96917dbf9707a5fc83fe7b (diff)
fixed installing to wrong place for shadow
Diffstat (limited to 'repo/system')
-rw-r--r--repo/system/shadow.xibuild4
1 files changed, 2 insertions, 2 deletions
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}