PuppyLinux : makepup

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

Puppy Linux Mini How-to  


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

# this script makes the dotpup file

# do the md5sums
# you can choose which files you want to have md5sums

md5sum dotpup.sh > md5sum.txt
md5sum -b dotpup.tar.gz >> md5sum.txt

# a dotpup package is just a zip file
# -9 compresses it as much as possible
# output file is dotpup.pup ... rename it when the package is ready to upload
# here i'm putting a tar.gz in a zip file
# the reason dotpup files are zip files and not tar.gz files
# is that server mime settings for tar.gz files are often setup incorrectly
# mime settings for zip files are usually ok (but not always)

rm -f dotpup.pup
zip -9 dotpup.pup dotpup.sh dotpup.tar.gz md5sum.txt

This file creates the dotpup file. NOTHING needs to be changed.


CategoryHowto

There are 2 comments on this page. [Display comments]

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