Last Edited: 01 May 2008 by superuser
Importered from old WiKi -- 30/04-08 17:04.

Puppy Linux Mini How-to



Below is a sample make-tar file extracted from GuestToo's DotPup Template. The template uses Gtkfind, a find utility, as an example.
#!/bin/sh

# this script makes a tar.gz file with absolute paths
# the dotpup.sh script can unzip all the files in the tar.gz file
# with a single command

rm -f dotpup.tar.gz
tar czvPf dotpup.tar.gz \
/root/my-roxapps/gtkFind/ \
/usr/share/doc/gtkfind.txt

To edit it, just change the lines:
/root/my-roxapps/gtkFind/ \
/usr/share/doc/gtkfind.txt

to the path names of the files that you want your dotpup to install. E.g,

/root/my-roxapps/XXXX/ \
/root/my-applications/YYYY/ \
/root/my-applications/lib/libabc.so \
/usr/share/doc/hello.txt

Important: don't leave out '\' at the end of each line (except the last line)!



CategoryHowto