pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/45513: pkgsrc DEINSTALL file doesn't have ${VARBASE} and other variables defined



The following reply was made to PR pkg/45513; it has been noted by GNATS.

From: John Marino <netbsd%marino.st@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/45513: pkgsrc DEINSTALL file doesn't have ${VARBASE} and
 other variables defined
Date: Sun, 23 Oct 2011 13:52:04 +0200

 On 10/23/2011 12:50 PM, OBATA Akio wrote:
 > The following reply was made to PR pkg/45513; it has been noted by GNATS.
 >
 > From: "OBATA Akio"<obache%netbsd.org@localhost>
 > To: gnats-bugs%netbsd.org@localhost
 > Cc:
 > Subject: Re: pkg/45513: pkgsrc DEINSTALL file doesn't have ${VARBASE} and
 >   other variables defined
 > Date: Sun, 23 Oct 2011 19:46:42 +0900
 >
 >   On Sun, 23 Oct 2011 19:15:00 +0900,<netbsd%marino.st@localhost>  wrote:
 >
 >   >  If a package has a DEINSTALL script that deletes a file from ${VARBASE} 
 > (normally /var), you must use "/var" instead of ${VARBASE} because the 
 > latter is not expanded.
 >
 >   @VARBASE@ should be used in DEINSTALL script instead of neither ${VARBASE} 
 > nor /var.
 >   It will be expanded at creating the package.
 >
 >   --
 >   OBATA Akio / obache%NetBSD.org@localhost
 >
 Hi OBATA,
 Thanks, I obviously didn't know it uses another expansion format.
 
 Is that documented anywhere, say the pkgsrc guide, and I just missed it?
 I'm not sure how I was supposed to know or guess @VARBASE@ is the 
 current form.
 
 John
 


Home | Main Index | Thread Index | Old Index