From owner-freebsd-ports Sun Jul 23 15:59:54 2000 Delivered-To: freebsd-ports@freebsd.org Received: from ducky.nz.freebsd.org (chilled.unixathome.org [203.79.82.27]) by hub.freebsd.org (Postfix) with ESMTP id 5C4DF37BBF0; Sun, 23 Jul 2000 15:59:48 -0700 (PDT) (envelope-from dan@langille.org) Received: from wocker (wocker.int.nz.freebsd.org [192.168.0.99]) by ducky.nz.freebsd.org (8.9.3/8.9.3) with ESMTP id KAA72539; Mon, 24 Jul 2000 10:59:36 +1200 (NZST) From: "Dan Langille" Organization: langille.org To: Palle Girgensohn Date: Mon, 24 Jul 2000 10:59:34 +1200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: postgresql7 user message contains $PREFIX not /usr/local Reply-To: dan@langille.org Cc: ports@freebsd.org, andreas@freebsd.org Message-ID: <397C2196.23289.11751B8F@localhost> In-reply-to: <397B781B.67FAC6DC@partitur.se> X-mailer: Pegasus Mail for Win32 (v3.12c) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 24 Jul 2000, at 0:56, Palle Girgensohn wrote: > Dan Langille wrote: > > > > I just installed databases/postgresql7 and spotted the following > > message: > > > > To start PostgreSQL, run the startup script: $PREFIX/etc/rc.d/pgsql.sh > > start ===> Compressing manual pages for postgresql-7.0.2 > > > > To be nice to the user, who we all know doesn't know much, should we say > > "/usr/local" instead of "$PREFIX"? > > I guess, if the user is using a different prefix than > /usr/local, the user knows more than the average, and will > exchange /usr/local for their favourite prefix automatically in > his/her mind while reading the message ;-) > > You're probably right, putting /usr/local instead would > probably confuse a smaller amount of users :) Actually, I think it should say /usr/local/ only if that's what PREFIX evaluates to. My initial thoughts were that the code was not correctly evaluating the $PREFIX variable. Rather, the string "$PREFIX" was being printed instead of the value contained within $PREFIX. -- Dan Langille [I'm looking for more work] The FreeBSD Diary - http://www.freebsddiary.org/ FreshPorts - http://freshports.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message