Fix beforeinstall target:
use chflags /usr/bin/chpass ONLY if chpass present
This commit is contained in:
parent
dbdc296687
commit
3e7520144b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4287
@ -10,7 +10,7 @@ LINKS= ${BINDIR}/chpass ${BINDIR}/chfn ${BINDIR}/chpass ${BINDIR}/chsh
|
||||
MLINKS= chpass.1 chfn.1 chpass.1 chsh.1
|
||||
|
||||
beforeinstall:
|
||||
chflags noschg /usr/bin/chpass
|
||||
[ -r /usr/bin/chpass ] && chflags noschg /usr/bin/chpass
|
||||
|
||||
afterinstall:
|
||||
chflags schg /usr/bin/chpass
|
||||
|
Loading…
Reference in New Issue
Block a user