Fix logic in previous commit.
This commit is contained in:
parent
bace7f3e04
commit
d1be7de765
@ -10,7 +10,7 @@ LINKS= ${BINDIR}/chpass ${BINDIR}/chfn ${BINDIR}/chpass ${BINDIR}/chsh
|
||||
MLINKS= chpass.1 chfn.1 chpass.1 chsh.1
|
||||
|
||||
beforeinstall:
|
||||
[ -r /usr/bin/chpass ] && chflags noschg /usr/bin/chpass
|
||||
[ ! -e /usr/bin/chpass ] || chflags noschg /usr/bin/chpass
|
||||
|
||||
afterinstall:
|
||||
chflags schg /usr/bin/chpass
|
||||
|
Loading…
Reference in New Issue
Block a user