Skip to content

Commit

Permalink
Fix oshazard#81: Flag -L doesn’t work when not in en_US locale
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Zugmeyer committed Feb 8, 2017
1 parent 9c58d5f commit 7433224
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apacman
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ isignored() {

# List installed packages
getlistpackages() {
export LC_ALL=C
$pacmanbin -Qi${pacmanarg} | grep -e "^Name " -e "^Installed Size " | \
awk '{if ($(NF-1) ~ /^[0-9]/) printf $(NF-1); print $NF}' | paste -s -d' \n' | \
sed -e 's/iB$//' -e 's/\.00K/K/' -e 's/\.00B/B/' | awk '{printf "%-10s %-40s\n",$2,$1}' | sort -h
Expand Down

0 comments on commit 7433224

Please sign in to comment.