Browse Source

sde-update-package: remove bashism

Signed-off-by: Alejandro Mery <amery@geeks.cl>
master
Alejandro Mery 4 years ago
parent
commit
5baccef497
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      bin/sde-update-package

+ 4
- 3
bin/sde-update-package

@ -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

Loading…
Cancel
Save