summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimone Rota <simone@sip.local>2006-07-17 16:13:13 +0200
committerSimone Rota <simone@sip.local>2006-07-17 16:13:13 +0200
commite23dc5fb07564c597477c8543aa058000bc2e8b1 (patch)
tree646c87207c8f210f09d3dc00151b1f5cda1c4a59
parent794c80b8fb49b250ced063c0a4b964d09a8eccfe (diff)
downloadpkg-get-e23dc5fb07564c597477c8543aa058000bc2e8b1.tar.gz
pkg-get-e23dc5fb07564c597477c8543aa058000bc2e8b1.tar.xz
Fix: warning on output of diff command
-rw-r--r--ChangeLog3
-rwxr-xr-xscripts/pkg-get.pl2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5b78417..b70b00f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
ChangeLog for pkg-get
+
+X.X.X - Fixed warnings on output of diff command
+
0.4.5 - Added --all switch for diff command (also lists
locked packages)
diff --git a/scripts/pkg-get.pl b/scripts/pkg-get.pl
index 382828a..3fe51e6 100755
--- a/scripts/pkg-get.pl
+++ b/scripts/pkg-get.pl
@@ -943,7 +943,7 @@ sub diff {
printf("%-19s %-19s %-19s\n\n","Package","Installed","Available in the repositories");
$gotdiff = 1;
}
- printf("%-19s %-19s %-19s %-19s\n", $pkg{'name'}, $pkg{'instversion'}, $pkg{'version'}."-".$pkg{'release'});
+ printf("%-19s %-19s %-19s\n", $pkg{'name'}, $pkg{'instversion'}, $pkg{'version'}."-".$pkg{'release'});
} elsif ($all) { # yeah, it blows, at least avoid to read the locked state twice.
if ($gotdiff == 0){
print "Differences between installed packages and packages repo:\n\n";

Generated by cgit