Tux Cleaner

Miscellaneous tools
Post Reply
Message
Author
Infosoft
Posts: 5
Joined: Mon 16 Jan 2012, 10:19

#16 Post by Infosoft »

vovchik wrote:Dear Infosoft,

As Puppy traditionally runs from root, $HOME is nearly always:

Code: Select all

HOME=/root
With kind regards,
vovchik
Thanks for the info. I don't use Puppy Linux so I didn't know that.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#17 Post by musher0 »

Actually, $HOME and $home are two different things in PuppyLinux.

$HOME=/root, while $home="the drive your pupsave file is on" (may be /mnt/sda1 (ex. of hard drive) , /mnt/sdf3 (ex. of usb drive), or whatever.

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Monsie
Posts: 631
Joined: Thu 01 Dec 2011, 07:37
Location: Kamloops BC Canada

Tux Cleaner

#18 Post by Monsie »

Thanks for the fix, vovchik. I had to add it to the latest update from Infosoft. I did:

Code: Select all

[ -d /usr/home ] && DEFAULT_HOME_DIR="/usr/home"
[ -d /home ] && DEFAULT_HOME_DIR="/home"
 DEFAULT_HOME_DIR="/root"
but now that I think about it, I am thinking that my syntax would be relevant to Puppy only, whereas your syntax would pertain to any distro? If so, then your syntax would work better for Infosoft since he is testing his program on Ubuntu and maybe a few other distros.

Infosoft, I agree with your thinking that it would be a good idea to run Racy in a virtual machine or even on a usb flash drive so that you can get the hang of Puppy and get up to speed...

Cheers,
Monsie
My [u]username[/u] is pronounced: "mun-see". Derived from my surname, it was my nickname throughout high school.

Post Reply