Congratulations Lobster on your first DotPup, just a couple of things I thought I might mention.

What you need is a dotpup.sh file in your DotPup to place the executable 'tree' somewhere like /root/my-applications/bin so it is available for use on the commandline.

Something like:

cp tree /root/my-applications/bin

and somewhere to put the readme

cp readme /root/my-applications

but I would rename the readme to something like tree_readme.

Yes flamesage its a commandline tool to list files and directories and such.
If you have downloaded Lobsters DotPup you will need to move the executable and readme file to another location as the next DotPup you download and install will delete the DotPupTmpDir in /root.

If you put the tree file in /root/my-applications/bin you can use it from any directory in Puppy as that bin directory is in the path that Puppy searches when a command is entered into a console.

a dotpup is an ordinary zip file
with a .pup extension
that has an executable file in it called dotpup.sh
and a file called md5sum.txt

when you click a dotpup file
1) it's automatically unzipped
2) the md5sums in md5sum.txt are checked
3) dotpup.sh is run

the file that is executed automatically is named dotpup.sh ... you can't rename it to tree_install.sh or any other name (you can have tree_install.sh and any other files you like in the dotpup-zip file ... but they won't be executed automatically)

if you rename your tree_install.sh file to dotpup.sh, your dotpup should work

it won't seem to do anything, though ... it might be good to popup a message of some kind saying that it's installed ... something like
xmessage "tree is installed"
or
beaver /root/my-applications/tree_readme.txt
or because that Puppy may not have beaver,
rox /root/my-applications/tree_readme.txt

you only have an md5sum for tree
it might be good to have an md5sum for dotpup.sh too, just in case it got mangled somehow ... in fact, it would probably be good to to have md5sums in md5sum.txt for all the files in your dotpup

if you rename tree_readme.txt to tree.txt, and copied it or symlinked it to /usr/share/doc/, it will popup in leafpad if someone types man tree ... though stuff you put in /usr will get removed the next time you upgrade Puppy ... one way around this is to register with PupGet ... another way, is to put back the symlink every time you run tree

you should be able to upload new versions of your dotpup to the forum ... just click the edit button (top right corner) of your post

anyway, all you need to do to make your dotpup work is rename tree_install.sh to dotpup.sh

Joined: 18 May 2005Posts: 11132Location: The Peoples Republic of California

Posted: Sat 30 Jul 2005, 01:32 Post subject:

Flash, I recommend tree as Lobster's first dotpup because (1) it is useful and (2) it is a standalone executable file. Because it is just a single file it is an easier type of dotpup to make compared to what he was working on earlier.

Tree has many options. It is a file and directory display utility that displays in a tree type of format, showing where files and directories are relative to the actual file structure.

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum