diff options
author | Erich Eckner <git@eckner.net> | 2018-04-07 22:12:40 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-04-07 22:12:40 +0200 |
commit | 6bd916585024b7e4b344288bdcf2dece207cd8dc (patch) | |
tree | 2198aae24debbf4f1477a36a8515e14c898006e5 /bin/ii-connect | |
parent | d0748b2c4b25fb01706ae225c0181c2e25804a8a (diff) | |
download | builder-6bd916585024b7e4b344288bdcf2dece207cd8dc.tar.xz |
ii-connect: wtf: pkgfile -> tyzoid's interface
Diffstat (limited to 'bin/ii-connect')
-rwxr-xr-x | bin/ii-connect | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ii-connect b/bin/ii-connect index 4050bd0..0ecb987 100755 --- a/bin/ii-connect +++ b/bin/ii-connect @@ -94,7 +94,8 @@ if [ "$1" = 'watch' ]; then p ' "${out_file}" | \ while read -r line; do - if ! reason=$(pkgfile -C "${base_dir}/conf/pkgfile.pacman32.conf" "${line}"); then + reason=$("${base_dir}/bin/wtf" "${line}"); + if [ -z "${reason}" ] then reason="Huh, I don't know that one." fi if [ "$(echo "${reason}" | wc -l)" -le 5 ]; then |