The current compression used by the petget install utility is gzip/gz .
There had been discussion on the forum to add other/newer compressions .
*
This is a first study of the /usr/local/petget/petget script for supporting these :
Code: Select all
# ADDS/CHANGES by Karl Godt :
# 1.) usage message, called with $1 "-h" using bash shell
# buittin getopts
# 2.) Support for .pet with other compressions as gzip :
# bzip2,lzop,lzma,xz ;needs altered pet2tgz/tgz2pet,dir2pet
# 3.) though added in later Puppies, have manually adjusted support for .rpm
# 4.) Added support for checking pets in /tmp with extracting them there .
# Code should be nearly the same as in installpkg.sh
# On this installation still a TODO
Code: Select all
$0 [-h] FILE_NAME_TO_INSTALL
Puppy Linux .pet installer script .
Needs at least the parameter FILE_NAME_TO_INSTALL.ext
Currently supported file formats/.ext :
original : .pet
new : .b2pet,.lopet,.lapet,.xzpet
other : .tgz,.tar.gz,.deb,.rpm
[unsupported : .pup]
Depends on :
pet2tgz, installpkg.sh, tar, gzip, dpkg-pkg, rpm
[,bzip2,lzop,lzma,xz]