diff options
author | hubertf <hubertf> | 1998-05-08 17:32:46 +0000 |
---|---|---|
committer | hubertf <hubertf> | 1998-05-08 17:32:46 +0000 |
commit | 08a3643396be409d1952a97ca51165fd440859ca (patch) | |
tree | 6946e1a371464381bf3cf38e47719fc16c955908 /mail/nmh | |
parent | 9ae464503c2ac0ab2f3c2b35cb71c574d59badc3 (diff) | |
download | pkgsrc-08a3643396be409d1952a97ca51165fd440859ca.tar.gz |
Prevent error on virgin installations
Diffstat (limited to 'mail/nmh')
-rw-r--r-- | mail/nmh/pkg/PLIST | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/nmh/pkg/PLIST b/mail/nmh/pkg/PLIST index 47631ec0b82..0ec91ba9ca4 100644 --- a/mail/nmh/pkg/PLIST +++ b/mail/nmh/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.7 1998/02/11 10:58:01 agc Exp $ +@comment $NetBSD: PLIST,v 1.8 1998/05/08 17:32:46 hubertf Exp $ bin/ali bin/anno bin/burst @@ -126,6 +126,6 @@ man/man8/fmtdump.8.gz man/man8/install-mh.8.gz man/man8/mh-mts.8.gz man/man8/post.8.gz -@unexec (for ent in %D/etc/nmh/*.old; do mv $ent %D/etc/nmh/`basename $ent .old`; done) || /usr/bin/true +@unexec (for ent in %D/etc/nmh/*.old; do [ -f $ent ] && mv $ent %D/etc/nmh/`basename $ent .old`; done) || /usr/bin/true @unexec rmdir %D/etc/nmh || /usr/bin/true @dirrm libexec/nmh |