PuppyLinux : maketar

PuppyLinuxMainPage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register

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

There is one comment on this page. [Display comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.0
Page was generated in 0.7483 seconds