Subject: Re: A Question about PKG_TMPDIR (Was: Re: removing CONFLICTS
To: Bernd Salbrechter <salb@hell.gud.siemens.at>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: tech-pkg
Date: 02/18/1999 13:29:35
On Thu, 18 Feb 1999, Bernd Salbrechter wrote:
> Why not honore $TMPDIR or at least prefere /var/tmp over /tmp?
...
> My favorite way to find out where to put temporary files in will be:
> 1. Check a package (proam) specific environmet variable, if you realy
> resits in need that.
> 2. Check $TMPDIR.
> 3. Type /var/tmp.
> 4. If none of the previous work, use /tmp.
>From pkg_install/lib/pen.c, we search:
1. $PKG_TMPDIR
2. $TPMDIR
3. /var/tmp
4. /tmp
5. /usr/tmp
Should be enough for everyone... (this was always there!)
- Hubert
--
Hubert Feyrer <hubert.feyrer@rz.uni-regensburg.de>