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