- just because I know next to nothing about ash and bash - pah! - that will not stop me . . .

I have got the md5 check sum working and a text info thing - I have got it installing but have to be sure it is correctly placed (I have also created the make pup script) on GuestToos excellent create your own dot pup
but am having difficulties copying the file to the right place and unzipping it

so this line would be copied from the download
directory (but how do I say download from present directory - if I do)

i split up the tar line but it could all be on 1 line
the P in tar czvPf is for absolute paths

when you click make-tar, it should zip all your files and folders to dotpup.tar.gz

in dotpup.sh, this line unzips dotpup.tar.gz to the same place you got the file from:
tar -xzP --no-same-owner -f dotpup.tar.gz
you don't have to change that line

so basically, your dotpup is 90% done

you might want to have a message of some sort popup, or maybe a readme file, or something

for example, if you included a file called /root/my-documents/torsmo-readme.txt, you can have it open with rox (it will do whatever it would do if you clicked the file in a rox window ... in my case it would open with leafpad ... if you have rox set to open text files with beaver, then it will open with beaver) ... like this:

that's about it ... your dotpup is finished
make the dotpup by clicking make-pup
test the dotpup by clicking dotpup.pup
if it works ok, it's done

in short:
1) edit make-tar to include the files you want
2) edit dotpup.sh if you want to popup a message, and to do other stuff like make symlinks, edit config files, register with PupGet ...

i chose to have my dotpup handler unzip dotpups in a temporary dir in /root called DotPupTmpDir (i could have chosen /tmp, or the dir the dotpup was in, for example)

basically anything that's in the dotpup (which is just an ordinary zip file) will be in /root/DotPupTmpDir

for example, if you edit make-pup to add a file called readme.txt to the dotpup, then readme.txt will be in /root/DotPupTmpDir, and you could display it by adding this line to dotpup.sh:
rox readme.txt
(you could specify leafpad or beaver or mp or abiword instead of rox ... but will beaver be installed?)

everything in DotPupTmpDir will be deleted automatically when the dotpup finishes, so you may need a sleep 10 instruction to be sure your readme.txt file is there long enough for a text editor to find it ... something like this:

rox readme.txt
sleep 10

anyway, in your case, i think all you have to do is
1) edit make-tar to include the files you want
2) edit dotpup.sh to popup a message, if you like
3) edit dotpup.sh to register with PupGet
4) click make-tar
5) click make-pup

or, even shorter:
after you edit make-tar, 90% of making the dotpup is done

or you can do it using cp, mv, and tar with relative paths ... the advantage in doing it that way, is you can put files in different places, for example, the user's home dir if the user isn't root

If I run autozen.sh from the command line
I get the creation of an Autozen-1.3.1 directory from which
the prog can be accessed
but clicking on the file from ROX does not work
I seem to be making progress

there are many ways of making a dotpup work
my template is about as simple as you can get

my template:
http://www.murga.org/~puppy/viewtopic.php?p=2509#2509

basically, you zip all the files you want into a tar.gz file ... later, when the dotpup runs, it unzips the files that are in the tar.gz file

pretty simple

you can write you own scripts ... or you can use my template

to use my template, all you do is download the template dotpup and install it ... it should put the dotpup creator template in /root/tmp/gtkfind

what you do is edit the file make-tar and put in the files you want in the dotpup

and that's it ... your dotpup is 99% done

you do not add files or rename files to the gtkfind folder ... you do not make your own tar file (make-tar already does it for you, automatically)

for example, suppose you create a file called lobster.txt, and put it in /root

suppose you want to make a dotpup that will install your lobster.txt file on other people's computers

you edit the make-tar file ... so it will look something like this:

rm -f dotpup.tar.gz
tar czvPf dotpup.tar.gz \
/root/lobster.txt

(the tar line could all be on one line, if you like)

if you click make-tar, it makes a tar.gz file called dotpup.tar.gz with all your files in it (in this case, it will have lobster.txt in it)

dotpup.sh already will unzip all your files that are in dotpup.tar.gz automatically and put them all where they belong ... so your dotpup is 99% done

if you want your dotpup to display lobster.txt in leafpad or beaver when the dotpup is clicked, you can add an instruction to do that ... add the instruction rox /root/lobster.txt to dotpup.sh, so dotpup.sh will look something like this:

tar -xzP --no-same-owner -f dotpup.tar.gz
rox /root/lobster.txt

now, when dotpup.sh runs (it runs automatically when the dotpup is clicked), it will:
1) unzip dotpup.tar.gz which has all your files in it
2) it will open lobster.txt in leafpad or beaver

the P option for tar unzips the files using absolute paths ... so all your files will be put exactly where they were originally

the --no-same-owner option makes the user who unzips the files the owner of the files, rather than the user who originally made them

you do not want to rename any of the files in the template folder ... you would have to go through all the scripts and change the file names in each one

so all you have to do:
1) edit make-tar and tell it what files you want in the dotpup
2) edit dotpup.sh and tell it to display lobster.txt

that's it ... that's all you have to do
click make-tar ... then click make-pup ... and you have a file called dotpup.pup ... when your dotpup is working ok, you can rename it

you do not have to rename any files in the template dir
you do not have to add any files to the template dir
you do not have to make any zip files or tar.gz files or cp any files or mv any file or tar any files or unzip any files or untar any files ... it's all done for you automatically

all you have to do is tell make-tar what files you want to put in the dotpup
and tell dotpup.sh if you want to display a message or register with PupGet, or anything like that

or you can write your own scripts that do pretty much the same thing ... but it's already all done for you, you really don't have to

I decided to have a go at dot pup because it seems easy and straight forward.

Somehow during this I have managed to make dotpups uninstallable . . .
Originally I had tried the visual dot pup maker from xanatos
but the scripts and templates seemed to be simpler (the visual dot pup maker is still under development I hope)

Things that seemed clear are beginning to seem complex . . .
Problems that an experienced basher would not blink at have caused me difficulties.
I am gonna digest some of this info. Take a step back and try again soon.

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