[Apt-listbugs-commits] [SCM] apt-listbugs development tree branch, master, updated. 0.1.0-11-g47ba83a
Ryan Niebur
ryanryan52 at gmail.com
Thu Sep 17 14:14:28 UTC 2009
The following commit has been merged in the master branch:
commit 47ba83a23e0db219c6eef4935eb68b86811f2086
Author: Ryan Niebur <ryanryan52 at gmail.com>
Date: Thu Sep 17 07:14:23 2009 -0700
use LC_ALL instead
diff --git a/aptcleanup b/aptcleanup
index 5e843d1..8e10511 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 = "/" + `LANG=C #{APTCACHE} -o Dir::Etc::Preferences=#{unpinned_preferences} policy #{pinned_package}`.split("\n").select{|x| x.match("Candidate:")}[0].split(" ")[1]
+ unpinned_candidate_version = "/" + `LC_ALL=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 16a4584..683efd5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,7 +6,7 @@ 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:
+ * LC_ALL=C when running apt-cache, we parse the English output (Closes:
#547128)
-- Ryan Niebur <ryanryan52 at gmail.com> Thu, 17 Sep 2009 07:12:54 -0700
--
apt-listbugs development tree
More information about the Apt-listbugs-commits
mailing list