diff options
author | hubertf <hubertf@pkgsrc.org> | 1998-05-08 17:32:46 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 1998-05-08 17:32:46 +0000 |
commit | f348b3df6ea45adf99e1fb15a4263a4318fe71e5 (patch) | |
tree | 6946e1a371464381bf3cf38e47719fc16c955908 | |
parent | 4b60fbaaea7a2a67d673257ca8df9262705f2eed (diff) | |
download | pkgsrc-f348b3df6ea45adf99e1fb15a4263a4318fe71e5.tar.gz |
Prevent error on virgin installations
-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 |