# HG changeset patch # User Jordi GutiƩrrez Hermoso # Date 1233278330 21600 # Node ID 189d2caa7410946c2ff73c11b9c170fefe3e2380 # Parent 4385bb503467d6cbd834378dd4023b1f5052b858 Add .octpkg extension to unpack.m and change docstrings in pkg.m diff -r 4385bb503467 -r 189d2caa7410 scripts/miscellaneous/unpack.m --- a/scripts/miscellaneous/unpack.m Thu Jan 29 18:13:06 2009 -0500 +++ b/scripts/miscellaneous/unpack.m Thu Jan 29 19:18:50 2009 -0600 @@ -143,6 +143,11 @@ commandlist.zip = {"unzip \"%s\"", ... "unzip -q \"%s\"", ... @__parse_zip__, false}; + + ## Octave packages, same as targz + commandlist.octpkg = {"gzip -d -c \"%s\" | tar -x -v -f -", ... + "gzip -d -c \"%s\" | tar -x -f -", ... + @__parse_tar__, false}; endif nodotext = ext(! ismember (ext, ".")); diff -r dfea820fd8fb scripts/pkg/pkg.m --- a/scripts/pkg/pkg.m Thu Jan 29 14:53:49 2009 -0600 +++ b/scripts/pkg/pkg.m Thu Jan 29 19:22:52 2009 -0600 @@ -26,10 +26,10 @@ ## @item install ## Install named packages. For example, ## @example -## pkg install image-1.0.0.octpkg +## pkg install image-1.0.0.tar.gz ## @end example ## @noindent -## installs the package found in the file @code{image-1.0.0.octpkg}. +## installs the package found in the file @code{image-1.0.0.tar.gz}. ## ## The @var{option} variable can contain options that affect the manner ## in which a package is installed. These options can be one or more of @@ -184,7 +184,7 @@ ## @code{pkg}. The form of the command to build a binary package is ## ## @example -## pkg build builddir image-1.0.0.octpkg @dots{} +## pkg build builddir image-1.0.0.tar.gz @dots{} ## @end example ## ## @noindent