summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 1 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1c730e46daa..2b1eccb3541 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