diff options
author | Andy Weidenbaum | 2016-02-23 06:49:22 -0800 |
---|---|---|
committer | Andy Weidenbaum | 2016-02-23 06:49:22 -0800 |
commit | 7c8ad5d897b225f810cf86fb2d32270eae7ed860 (patch) | |
tree | bcee5b50d719f9a65832401be6217b0961739fdb /PKGBUILD | |
parent | ffefa66605ce438bfa4dc1390d7df8941149e039 (diff) | |
download | aur-7c8ad5d897b225f810cf86fb2d32270eae7ed860.tar.gz |
simplify precomp grep, credit spider-mario
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -42,11 +42,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 |