summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbalocca <rbalocca@vyatta.com>2008-06-23 15:29:08 -0700
committerrbalocca <rbalocca@vyatta.com>2008-06-23 15:29:08 -0700
commitbbe6c3a63fb24cb9b3da718340552cf2a861171e (patch)
tree0c71856aa3fbb40a53bebab74e0627a354650891
parenta0aacbcb65bae15ddcf9d2af2fdea4da84210592 (diff)
downloadvyatta-op-bbe6c3a63fb24cb9b3da718340552cf2a861171e.tar.gz
vyatta-op-bbe6c3a63fb24cb9b3da718340552cf2a861171e.zip
Output was sometimes missing important white space
-rwxr-xr-xscripts/vyatta-show-version6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/vyatta-show-version b/scripts/vyatta-show-version
index 587f17e..f609930 100755
--- a/scripts/vyatta-show-version
+++ b/scripts/vyatta-show-version
@@ -84,7 +84,7 @@ sub read_pkg_file {
sub show_added {
for my $name (sort keys %$rHoH_now_debs) {
if (!$rHoH_base_debs->{$name}) {
- printf("Aii %-25s%-25s\n",
+ printf("Aii %-25s %-25s\n",
$name, $rHoH_now_debs->{$name}->{'version'});
}
}
@@ -93,7 +93,7 @@ sub show_added {
sub show_deleted {
for my $name (sort keys %$rHoH_base_debs) {
if (!$rHoH_now_debs->{$name}) {
- printf("X %-25s%-25s\n",
+ printf("X %-25s %-25s\n",
$name, $rHoH_base_debs->{$name}->{'version'});
}
}
@@ -117,7 +117,7 @@ sub show_upgraded_downgraded {
if ($ver_base ne $ver_now) {
$cmd = "dpkg --compare-versions \"$ver_base\" $op \"$ver_now\"";
if (!system($cmd)) {
- printf("%sii %-25s%-20s (baseline: %s)\n",
+ printf("%sii %-25s %-20s (baseline: %s)\n",
$symbol, $name, $ver_now, $ver_base);
}
}