summaryrefslogtreecommitdiff
path: root/scripts/update-java-alternatives
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2008-04-02 18:39:15 +0000
committerMichael Koch <konqueror@gmx.de>2008-04-02 18:39:15 +0000
commit95767a557e48ae0c9a61c4a109ba312eb0f00478 (patch)
tree12e43ba3a008f24cccdc03d85f22be0bf327910b /scripts/update-java-alternatives
parent88d62148c6bc5c11857eff6c40f752077c055df7 (diff)
downloadjava-common-95767a557e48ae0c9a61c4a109ba312eb0f00478.tar.gz
* Fix issues in scripts/update-java-alternatives.8
* Converted debian/java-common.doc-base.faq to utf-8 encoding. * Fix bug in scripts/update-java-alternatives when usage is shown.
Diffstat (limited to 'scripts/update-java-alternatives')
-rwxr-xr-xscripts/update-java-alternatives4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/update-java-alternatives b/scripts/update-java-alternatives
index 71bc479..bffaa70 100755
--- a/scripts/update-java-alternatives
+++ b/scripts/update-java-alternatives
@@ -63,8 +63,8 @@ while [ "$#" -gt 0 ]; do
shift
done
-#[ "$#" -eq 0 ] || usage 1
-#[ -n "$action" ] || usage 1
+[ "$#" -eq 0 ] || usage 1
+[ -n "$action" ] || usage 1
which='^(hl|jre|jdk|plugin|DUMMY) '
if [ -n "$hlonly$jreonly$pluginonly" ]; then