From 95767a557e48ae0c9a61c4a109ba312eb0f00478 Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Wed, 2 Apr 2008 18:39:15 +0000 Subject: * 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. --- scripts/update-java-alternatives | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/update-java-alternatives') 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 -- cgit v1.2.3