|
|
@ -23,15 +23,16 @@ |
|
|
|
. "$SDEROOT/lib/sde-package.in" |
|
|
|
|
|
|
|
update_usage() { |
|
|
|
local progname=${0##*/} |
|
|
|
local progname= |
|
|
|
progname="$(echo ${0##*/} | tr - ' ')" |
|
|
|
cat <<EOT |
|
|
|
Usage: ${progname//-/ } [--location <url>] [<package>] [<version>] |
|
|
|
Usage: $progname [--location <url>] [<package>] [<version>] |
|
|
|
Updates a package (which is autodetected if you are on it) to a |
|
|
|
given version, or simply download and regenerate checksums. |
|
|
|
Using --location you are able to specify which will be the new |
|
|
|
download location for this update. |
|
|
|
|
|
|
|
${progname//-/ } [--no-location] --md5 <url> (Alias: up) |
|
|
|
$progname [--no-location] --md5 <url> (Alias: up) |
|
|
|
Updates a set of packages based on a remote .md5 file |
|
|
|
Using --no-location you tell the tool to not assume the download |
|
|
|
location of the md5 file for the updates but keep their individual |
|
|
|