diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-07-13 11:52:12 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-07-13 11:52:12 -0400 |
commit | 2b57a4cf95d2a4ea4acdba010ad71b41f67135f9 (patch) | |
tree | a033cc131ec5b69a997d4c63b5aed281ce66bf22 | |
parent | 4bd021e3327a454ff8d36b572932dfd2c8ee0249 (diff) |
try to avoid failing if there are foreign packages
-rwxr-xr-x | pristine-etc-keeper | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pristine-etc-keeper b/pristine-etc-keeper index 7fe682e..394af55 100755 --- a/pristine-etc-keeper +++ b/pristine-etc-keeper @@ -13,7 +13,7 @@ pacman-etc-name-ver() { } pacman-all-name-arch() { - LC_ALL=C pacman -Qi | tr $'\n' $'\r' | sed 's/\r\r/\n/g' | sed -r 's|(.*\r)?Name\s*:\s*(\S+)(\r.*)?\rArchitecture\s*:\s*(\S+)\r.*|\2 \4|' + LC_ALL=C pacman -Qni | tr $'\n' $'\r' | sed 's/\r\r/\n/g' | sed -r 's|(.*\r)?Name\s*:\s*(\S+)(\r.*)?\rArchitecture\s*:\s*(\S+)\r.*|\2 \4|' } commit() ( |