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