diff options
author | davidovski <david@davidovski.xyz> | 2022-01-31 22:02:05 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-31 22:02:05 +0000 |
commit | 3c7a581328ee4c47cf988d25d1fae08629dcbcab (patch) | |
tree | f2fa8f63356cbe2272ca40963c48336a92abf433 /repo | |
parent | e935396a6c8dffa9be96917dbf9707a5fc83fe7b (diff) |
fixed installing to wrong place for shadow
Diffstat (limited to 'repo')
-rw-r--r-- | repo/system/shadow.xibuild | 4 |
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} |