diff options
-rw-r--r-- | dns/totd/Makefile | 2 | ||||
-rw-r--r-- | dns/totd/pkg-install | 10 | ||||
-rw-r--r-- | net/totd/Makefile | 2 | ||||
-rw-r--r-- | net/totd/pkg-install | 10 |
4 files changed, 12 insertions, 12 deletions
diff --git a/dns/totd/Makefile b/dns/totd/Makefile index d59d9d1a98a6..6993c0e5bc51 100644 --- a/dns/totd/Makefile +++ b/dns/totd/Makefile @@ -10,7 +10,7 @@ PORTREVISION= 1 CATEGORIES= net ipv6 MASTER_SITES= ftp://ftp.pasta.cs.uit.no/pub/Vermicelli/ -MAINTAINER= kris@FreeBSD.org +MAINTAINER= ports@FreeBSD.org MAN8= totd.8 diff --git a/dns/totd/pkg-install b/dns/totd/pkg-install index de1a95c9dfbf..c64a12b12394 100644 --- a/dns/totd/pkg-install +++ b/dns/totd/pkg-install @@ -11,17 +11,17 @@ PREFIX=${PKG_PREFIX:-/usr/local} do_install_configuration() { echo -n "Let's see if there is already a configuration file... " - if [ -f /etc/totd.conf ]; then + if [ -f ${PREFIX}/etc/totd.conf ]; then echo "yes" echo "Please compare your existing configuration with" - echo "${PREFIX}/share/totd/totd.conf.sample" + echo "${PREFIX}/etc/totd.conf.sample" else echo "no" echo -n "Copying sample configuration file... " - install -o root -g wheel -m 644 ${PREFIX}/share/totd/totd.conf.sample \ - /etc/totd.conf + install -o root -g wheel -m 644 ${PREFIX}/etc/totd.conf.sample \ + ${PREFIX}/etc/totd.conf echo "ok" - echo "Please review new configuration /etc/totd.conf" + echo "Please review new configuration ${PREFIX}/etc/totd.conf" fi } diff --git a/net/totd/Makefile b/net/totd/Makefile index d59d9d1a98a6..6993c0e5bc51 100644 --- a/net/totd/Makefile +++ b/net/totd/Makefile @@ -10,7 +10,7 @@ PORTREVISION= 1 CATEGORIES= net ipv6 MASTER_SITES= ftp://ftp.pasta.cs.uit.no/pub/Vermicelli/ -MAINTAINER= kris@FreeBSD.org +MAINTAINER= ports@FreeBSD.org MAN8= totd.8 diff --git a/net/totd/pkg-install b/net/totd/pkg-install index de1a95c9dfbf..c64a12b12394 100644 --- a/net/totd/pkg-install +++ b/net/totd/pkg-install @@ -11,17 +11,17 @@ PREFIX=${PKG_PREFIX:-/usr/local} do_install_configuration() { echo -n "Let's see if there is already a configuration file... " - if [ -f /etc/totd.conf ]; then + if [ -f ${PREFIX}/etc/totd.conf ]; then echo "yes" echo "Please compare your existing configuration with" - echo "${PREFIX}/share/totd/totd.conf.sample" + echo "${PREFIX}/etc/totd.conf.sample" else echo "no" echo -n "Copying sample configuration file... " - install -o root -g wheel -m 644 ${PREFIX}/share/totd/totd.conf.sample \ - /etc/totd.conf + install -o root -g wheel -m 644 ${PREFIX}/etc/totd.conf.sample \ + ${PREFIX}/etc/totd.conf echo "ok" - echo "Please review new configuration /etc/totd.conf" + echo "Please review new configuration ${PREFIX}/etc/totd.conf" fi } |