Re: /tmp folders and files dleteable?

Robby Workman <[email protected]>
Newsgroups gmane.linux.slackware
Organization Generally OCD.
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 14 Mar 2012 01:07:10 -0700
"Bradley D. Thornton" <[email protected]> wrote:

> <code>
> CWD=$(pwd)
> TMP=${TMP:-/tmp/SBo}
> PKG=$TMP/package-$PRGNAM
> OUTPUT=${OUTPUT:-/usr/local/packages}
> </code>
> 
> The $OUTPUT var is pointing to my new packages repo.


There's no need to make edits even -- you can pass OUTPUT values
to the script when it's executed, e.g. 

  OUTPUT=/usr/local/packages ./appname.SlackBuild

 
> on line 10 of /etc/sbopkg/sbopkg.conf, change the target as follows...
> 
> <code>
> export OUTPUT=${OUTPUT:-/usr/local/packages}
> </code>


You should be able to do this in your shell init files, e.g.
root's .profile and/or .bashrc, depending on your setup.

- -RW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk9gvdYACgkQvGy9tf6lsvuGZgCghlZ+46T9Sng34/3oX8LDxBDw
IVEAnjdY5lu4p3BJciyWQC6jT8O5M8Wk
=+w2W
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.