diff options
author | reed <reed@pkgsrc.org> | 2004-04-23 22:43:20 +0000 |
---|---|---|
committer | reed <reed@pkgsrc.org> | 2004-04-23 22:43:20 +0000 |
commit | 2d4122dd4510b2d5b5c8f9a44012b9e24623aadf (patch) | |
tree | 2b926496c81740a80a135897f9dc52478375f51e /www/wwwoffle | |
parent | 6c929c0b9f2b49b60ac221421a8385f9a26a61ec (diff) | |
download | pkgsrc-2d4122dd4510b2d5b5c8f9a44012b9e24623aadf.tar.gz |
Fix references to rc.d scripts. This package uses RCD_SCRIPTS
which installs to ${RCD_SCRIPTS_EXAMPLEDIR}. But the MESSAGE
referred to wrong hard-coded location if the RCD_SCRIPTS_EXAMPLEDIR
was not the default. So use RCD_SCRIPTS_EXAMPLEDIR instead.
PKGREVISION not bumped because if someone had changed
RCD_SCRIPTS_EXAMPLEDIR before recent change of autoregistration
of rc.d script in PLIST, then it could not have been packaged
in first place.
Note that this commit does not imply that the MESSAGE is correct.
In some cases, the MESSAGE is clearly wrong such as suggesting
running the rc.d script from the example directory (which will work
although).
Diffstat (limited to 'www/wwwoffle')
-rw-r--r-- | www/wwwoffle/MESSAGE | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/www/wwwoffle/MESSAGE b/www/wwwoffle/MESSAGE index 237ecf50189..528e14e25b8 100644 --- a/www/wwwoffle/MESSAGE +++ b/www/wwwoffle/MESSAGE @@ -1,13 +1,13 @@ =========================================================================== -$NetBSD: MESSAGE,v 1.3 2002/09/24 12:30:51 wiz Exp $ +$NetBSD: MESSAGE,v 1.4 2004/04/23 22:43:20 reed Exp $ 1) To enable "wwwwoffled" to start on boot on NetBSD-1.5 or newer, -please copy "${PREFIX}/etc/rc.d/wwwoffled" to "/etc/rc.d/" and add +please copy "${RCD_SCRIPTS_EXAMPLEDIR}/wwwoffled" to "/etc/rc.d/" and add "wwwoffled=YES" to /etc/rc.conf. To do the same on older systems, add the following to /etc/rc.local: -if [ -x ${PREFIX}/etc/rc.d/wwwoffle ]; then - ${PREFIX}/etc/rc.d/wwwoffle +if [ -x ${RCD_SCRIPTS_EXAMPLEDIR}/wwwoffle ]; then + ${RCD_SCRIPTS_EXAMPLEDIR}/wwwoffle fi 2) The hooks are present to to use the package version of "htdig", |