diff options
author | rbalocca <rbalocca@vyatta.com> | 2008-06-23 15:29:08 -0700 |
---|---|---|
committer | rbalocca <rbalocca@vyatta.com> | 2008-06-23 15:29:08 -0700 |
commit | bbe6c3a63fb24cb9b3da718340552cf2a861171e (patch) | |
tree | 0c71856aa3fbb40a53bebab74e0627a354650891 | |
parent | a0aacbcb65bae15ddcf9d2af2fdea4da84210592 (diff) | |
download | vyatta-op-bbe6c3a63fb24cb9b3da718340552cf2a861171e.tar.gz vyatta-op-bbe6c3a63fb24cb9b3da718340552cf2a861171e.zip |
Output was sometimes missing important white space
-rwxr-xr-x | scripts/vyatta-show-version | 6 |
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); } } |