Unverified Commit e675c821 authored by Zhong Lufan's avatar Zhong Lufan Committed by GitHub
Browse files

archlinux: fix pacweb with non-English locales (#8916)

parent 0a456cb3
...@@ -208,7 +208,7 @@ function pacmansignkeys() { ...@@ -208,7 +208,7 @@ function pacmansignkeys() {
if (( $+commands[xdg-open] )); then if (( $+commands[xdg-open] )); then
function pacweb() { function pacweb() {
pkg="$1" pkg="$1"
infos="$(pacman -Si "$pkg")" infos="$(LANG=C pacman -Si "$pkg")"
if [[ -z "$infos" ]]; then if [[ -z "$infos" ]]; then
return return
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment