Browse Source

* fixed lib/sde-package/update.in usage of package_usage (UGLY)

git-svn-id: svn://svn.opensde.net/opensde/opensde/trunk@21132 10447126-35f2-4685-b0cf-6dd780d3921f
misl/sde-wrapper
Alejandro Mery 17 years ago
parent
commit
0bbe5b7318
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      lib/sde-package/update.in

+ 4
- 2
lib/sde-package/update.in

@ -128,7 +128,8 @@ package_update() {
pkg=$( package_autodetect )
else
echo_error "Invalid Syntax."
package_usage
. $SDEROOT/lib/sde-help.in
help_command package
return 1
fi
@ -136,7 +137,8 @@ package_update() {
package_do_update "$pkg" "$ver" "${location}"
else
echo_error "I could't guess which package you want to update."
package_usage
. $SDEROOT/lib/sde-help.in
help_command package
return 2
fi
}

Loading…
Cancel
Save