[java-common] 03/03: Vertical alignment for update-java-alternatives --list
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Fri Sep 25 16:13:24 UTC 2015
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository java-common.
commit b5b8cfafdf9d2743d9ee29b5fab49206d2c3155f
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Fri Sep 25 17:43:09 2015 +0200
Vertical alignment for update-java-alternatives --list
---
debian/changelog | 1 +
scripts/update-java-alternatives | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 0ca4f03..c3e5620 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ java-common (0.54) UNRELEASED; urgency=medium
* Team upload.
* Use OpenJDK 8 on mips, mipsel and mips64el.
* update-java-alternatives now supports bash completion (Closes: #777550)
+ * The output of update-java-alternatives --list is now aligned vertically
* Removed the unused classpath-from-jars-1 example
* Removed the old dummy control files
* Removed the README about the old default-jdk-builddep transition
diff --git a/scripts/update-java-alternatives b/scripts/update-java-alternatives
index 6dbc92b..9eea19c 100755
--- a/scripts/update-java-alternatives
+++ b/scripts/update-java-alternatives
@@ -123,7 +123,7 @@ do_list()
alias=$(basename ${i%.jinfo})
alias=${alias#.}
prio=$(awk -F= '/priority=/ {print $2}' $i)
- echo $alias $prio $top/$alias
+ printf "%-30s %-10s %s\n" $alias "$prio " $top/$alias
[ -n "$verbose" ] && egrep "$which" $i
done
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/java-common.git
More information about the pkg-java-commits
mailing list