mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Correct the location of the totd.conf and totd.conf.sample files for
package installations. Release my maintainership as I don't use this port any more. Submitted by: Shoichi Sakane <sakane@kame.net> PR: ports/38451
This commit is contained in:
parent
140c50e585
commit
b805b9fbde
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64938
4 changed files with 12 additions and 12 deletions
|
@ -10,7 +10,7 @@ PORTREVISION= 1
|
||||||
CATEGORIES= net ipv6
|
CATEGORIES= net ipv6
|
||||||
MASTER_SITES= ftp://ftp.pasta.cs.uit.no/pub/Vermicelli/
|
MASTER_SITES= ftp://ftp.pasta.cs.uit.no/pub/Vermicelli/
|
||||||
|
|
||||||
MAINTAINER= kris@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
|
|
||||||
MAN8= totd.8
|
MAN8= totd.8
|
||||||
|
|
||||||
|
|
|
@ -11,17 +11,17 @@ PREFIX=${PKG_PREFIX:-/usr/local}
|
||||||
do_install_configuration()
|
do_install_configuration()
|
||||||
{
|
{
|
||||||
echo -n "Let's see if there is already a configuration file... "
|
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 "yes"
|
||||||
echo "Please compare your existing configuration with"
|
echo "Please compare your existing configuration with"
|
||||||
echo "${PREFIX}/share/totd/totd.conf.sample"
|
echo "${PREFIX}/etc/totd.conf.sample"
|
||||||
else
|
else
|
||||||
echo "no"
|
echo "no"
|
||||||
echo -n "Copying sample configuration file... "
|
echo -n "Copying sample configuration file... "
|
||||||
install -o root -g wheel -m 644 ${PREFIX}/share/totd/totd.conf.sample \
|
install -o root -g wheel -m 644 ${PREFIX}/etc/totd.conf.sample \
|
||||||
/etc/totd.conf
|
${PREFIX}/etc/totd.conf
|
||||||
echo "ok"
|
echo "ok"
|
||||||
echo "Please review new configuration /etc/totd.conf"
|
echo "Please review new configuration ${PREFIX}/etc/totd.conf"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ PORTREVISION= 1
|
||||||
CATEGORIES= net ipv6
|
CATEGORIES= net ipv6
|
||||||
MASTER_SITES= ftp://ftp.pasta.cs.uit.no/pub/Vermicelli/
|
MASTER_SITES= ftp://ftp.pasta.cs.uit.no/pub/Vermicelli/
|
||||||
|
|
||||||
MAINTAINER= kris@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
|
|
||||||
MAN8= totd.8
|
MAN8= totd.8
|
||||||
|
|
||||||
|
|
|
@ -11,17 +11,17 @@ PREFIX=${PKG_PREFIX:-/usr/local}
|
||||||
do_install_configuration()
|
do_install_configuration()
|
||||||
{
|
{
|
||||||
echo -n "Let's see if there is already a configuration file... "
|
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 "yes"
|
||||||
echo "Please compare your existing configuration with"
|
echo "Please compare your existing configuration with"
|
||||||
echo "${PREFIX}/share/totd/totd.conf.sample"
|
echo "${PREFIX}/etc/totd.conf.sample"
|
||||||
else
|
else
|
||||||
echo "no"
|
echo "no"
|
||||||
echo -n "Copying sample configuration file... "
|
echo -n "Copying sample configuration file... "
|
||||||
install -o root -g wheel -m 644 ${PREFIX}/share/totd/totd.conf.sample \
|
install -o root -g wheel -m 644 ${PREFIX}/etc/totd.conf.sample \
|
||||||
/etc/totd.conf
|
${PREFIX}/etc/totd.conf
|
||||||
echo "ok"
|
echo "ok"
|
||||||
echo "Please review new configuration /etc/totd.conf"
|
echo "Please review new configuration ${PREFIX}/etc/totd.conf"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue