summaryrefslogtreecommitdiff
path: root/repo/system
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-31 22:02:57 +0000
committerdavidovski <david@davidovski.xyz>2022-01-31 22:02:57 +0000
commit829a5e147315c0869710b13e25768d12f5d91813 (patch)
treeb24566d6ee215176644cb16440ba7b81bd92f1fc /repo/system
parent3c7a581328ee4c47cf988d25d1fae08629dcbcab (diff)
added or to 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 1daafc3..99330ff 100644
--- a/repo/system/shadow.xibuild
+++ b/repo/system/shadow.xibuild
@@ -176,8 +176,8 @@ EOF
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}
- [ -f $PKG_DEST/etc/limits ] && mv -v $PKG_DEST/etc/limits{,.NOUSE}
+ [ -f $PKG_DEST/etc/login.access ] && mv -v $PKG_DEST/etc/login.access{,.NOUSE} || true
+ [ -f $PKG_DEST/etc/limits ] && mv -v $PKG_DEST/etc/limits{,.NOUSE} || true