]> git.cameronkatri.com Git - pw-darwin.git/commitdiff
Fix logic in previous commit.
authorBruce Evans <bde@FreeBSD.org>
Mon, 14 Nov 1994 07:13:12 +0000 (07:13 +0000)
committerBruce Evans <bde@FreeBSD.org>
Mon, 14 Nov 1994 07:13:12 +0000 (07:13 +0000)
chpass/Makefile

index 31dc84f7a91dec3de374638d4bbe18a0911474aa..d5090da9a2ddf10dd1473b9bb4fc2a1e8d387458 100644 (file)
@@ -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