diff options
Diffstat (limited to 'net/jwhois')
-rw-r--r-- | net/jwhois/Makefile | 2 | ||||
-rw-r--r-- | net/jwhois/pkg-plist | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/jwhois/Makefile b/net/jwhois/Makefile index a7c1edf332be..6b528db882a8 100644 --- a/net/jwhois/Makefile +++ b/net/jwhois/Makefile @@ -29,6 +29,6 @@ post-install: ${CHOWN} :nogroup ${PREFIX}/var/jwhois ${CHMOD} g+w ${PREFIX}/var/jwhois ${INSTALL_DATA} ${WRKSRC}/example/jwhois.conf ${PREFIX}/etc/jwhois.conf.sample - [ ! -f ${PREFIX}/etc/jwhois.conf ] && ${INSTALL_DATA} ${PREFIX}/etc/jwhois.conf.sample ${PREFIX}/etc/jwhois.conf + if [ ! -f ${PREFIX}/etc/jwhois.conf ]; then ${INSTALL_DATA} ${PREFIX}/etc/jwhois.conf.sample ${PREFIX}/etc/jwhois.conf; fi .include <bsd.port.mk> diff --git a/net/jwhois/pkg-plist b/net/jwhois/pkg-plist index 880923741bba..660fcce8671e 100644 --- a/net/jwhois/pkg-plist +++ b/net/jwhois/pkg-plist @@ -1,7 +1,7 @@ bin/jwhois @unexec if cmp -s %D/etc/jwhois.conf %D/etc/jwhois.conf.sample; then rm -f %D/etc/jwhois.conf; fi etc/jwhois.conf.sample -@exec [ ! -f %B/jwhois.conf ] && cp %B/%f %B/jwhois.conf +@exec if [ ! -f %B/jwhois.conf ]; then cp %B/%f %B/jwhois.conf; fi @unexec install-info --delete %D/info/jwhois.info %D/info/dir info/jwhois.info @exec install-info %D/info/jwhois.info %D/info/dir |