Lobster Dotpup
Posted: Thu 07 Jul 2005, 17:35
I am working on my first ever dot pup
You lucky pups!
- 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)
this seems to work Ok once the file is in place . . .
here is most of the code I have been playing with
these last two lines are not right at all BUT they are to do with registering as a Pupget which ideally I would like to do . . .
I have never used cp to copy files or mv to move them (I will probably use mv) so I am kinda of
any help welcome
You lucky pups!
- 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)
Code: Select all
cp AutoZen-1.3.1.tar.gz /root/my-applications/bin
Code: Select all
tar -xzvf /root/my-applications/bin/AutoZen-1.3.1.tar.gz
Code: Select all
#!/bin/sh
cp AutoZen-1.3.1.tar.gz /root/my-applications/bin
# cd /
# cd /root/my-applications/bin
tar -xzvf /root/my-applications/bin/AutoZen-1.3.1.tar.gz
# gunzip /root/my-applications/bin/AutoZen-1.3.1.tar.gz
# /root/my-applications/bin/AutoZen-1.3.1/autozen
# rm AutoZen-1.3.1.tar.gz
# echo '/usr/local/bin/torsmo' > /root/.packages/torsmo-1.0.files
# echo '/usr/local/lib/X11/mini-icons/torsmo.xpm' >> /root/.packages/torsmo-1.0.files
Code: Select all
# echo '/usr/local/bin/torsmo' > /root/.packages/torsmo-1.0.files
# echo '/usr/local/lib/X11/mini-icons/torsmo.xpm' >> /root/.packages/torsmo-1.0.files
any help welcome