diff options
| author | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-10-30 17:23:50 +0000 |
|---|---|---|
| committer | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-10-30 17:23:50 +0000 |
| commit | 36bfd6633482777793512b1eff2b29fdeedfc3d8 (patch) | |
| tree | ba735431575ee8e712c2b39f708a9d70f2bf2f58 /sysutils/fcron/pkg-install | |
| parent | 3c493e9ba2de034295e60296be20286d819a6f0a (diff) | |
Notes
Diffstat (limited to 'sysutils/fcron/pkg-install')
| -rw-r--r-- | sysutils/fcron/pkg-install | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sysutils/fcron/pkg-install b/sysutils/fcron/pkg-install index 3a6569b54282..15508f19d7b5 100644 --- a/sysutils/fcron/pkg-install +++ b/sysutils/fcron/pkg-install @@ -31,7 +31,9 @@ elif [ "$2" = POST-INSTALL ]; then /usr/bin/install -o fcron -g fcron -m 770 -d /var/spool/fcron for f in fcron.allow fcron.conf fcron.deny; do - /usr/bin/install -o root -g fcron -m 640 \ - $PKG_PREFIX/etc/$f.dist $PKG_PREFIX/etc/$f + if ! [ -e $PKG_PREFIX/etc/$f ]; then + /usr/bin/install -o root -g fcron -m 640 \ + $PKG_PREFIX/etc/$f.dist $PKG_PREFIX/etc/$f + fi done fi |
