summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAndy Weidenbaum2016-02-23 06:43:51 -0800
committerAndy Weidenbaum2016-02-23 06:43:51 -0800
commit82a41b1d168e9a775f4e6987e3115d671e04aee7 (patch)
tree27dfb0fcd15a78e4817704ec0077edc89103043d /PKGBUILD
parentff81489ae02e80e5f3bbb5d8fde01c075d696b9b (diff)
downloadaur-82a41b1d168e9a775f4e6987e3115d671e04aee7.tar.gz
simplify precomp grep, credit spider-mario
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 1 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e4027061dea..8d857906c97 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -34,11 +34,7 @@ package() {
alacryd install
msg2 'Removing redundant precomp file dependencies...'
- _precomp=($(pacman -Qg perl6 \
- | awk '{print $2}' \
- | xargs pacman -Ql \
- | awk '{print $2}' \
- | grep precomp))
+ _precomp=($(pacman -Qqg perl6 | pacman -Qql - | grep precomp))
for _pc in "${_precomp[@]}"; do
[[ -f "$pkgdir/$_pc" ]] && rm -f "$pkgdir/$_pc"
done