[Apt-listbugs-commits] [SCM] apt-listbugs development tree branch, master, updated. 0.1.0-10-gaa0ac53
Ryan Niebur
ryanryan52 at gmail.com
Thu Sep 17 14:13:36 UTC 2009
The following commit has been merged in the master branch:
commit aa0ac53a725fc3f09a11352cd90e75506f463bb0
Author: Ryan Niebur <ryanryan52 at gmail.com>
Date: Thu Sep 17 07:12:58 2009 -0700
LANG=C when running apt-cache, we parse the English output (Closes: #547128)
diff --git a/aptcleanup b/aptcleanup
index 45e29ae..5e843d1 100755
--- a/aptcleanup
+++ b/aptcleanup
@@ -54,7 +54,7 @@ p.pins.each do |pin|
# which version would get installed, if the pinning were removed ?
unpinned_candidate_version = ""
- unpinned_candidate_version = "/" + `#{APTCACHE} -o Dir::Etc::Preferences=#{unpinned_preferences} policy #{pinned_package}`.split("\n").select{|x| x.match("Candidate:")}[0].split(" ")[1]
+ unpinned_candidate_version = "/" + `LANG=C #{APTCACHE} -o Dir::Etc::Preferences=#{unpinned_preferences} policy #{pinned_package}`.split("\n").select{|x| x.match("Candidate:")}[0].split(" ")[1]
if unpinned_candidate_version == "/(none)" or unpinned_candidate_version == nil
unpinned_candidate_version = ""
$stderr.puts "Warning: no candidate version for #{pinned_package}" if $DEBUG
diff --git a/debian/changelog b/debian/changelog
index 26e7bc6..16a4584 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,8 +6,10 @@ apt-listbugs (0.1.1) UNRELEASED; urgency=low
[ Ryan Niebur ]
* updated italian translation, thanks Luca (Closes: #540344)
+ * LANG=C when running apt-cache, we parse the English output (Closes:
+ #547128)
- -- Ryan Niebur <ryanryan52 at gmail.com> Tue, 08 Sep 2009 19:53:33 -0700
+ -- Ryan Niebur <ryanryan52 at gmail.com> Thu, 17 Sep 2009 07:12:54 -0700
apt-listbugs (0.1.0) unstable; urgency=low
--
apt-listbugs development tree
More information about the Apt-listbugs-commits
mailing list