From d73a4037b97a412c232a007271f68fb1c18b17ab Mon Sep 17 00:00:00 2001 From: hayao Date: Tue, 22 Dec 2020 20:35:46 +0900 Subject: [PATCH] [update] : Added checking aurvote --- wfa | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/wfa b/wfa index 8267664..070c995 100755 --- a/wfa +++ b/wfa @@ -1100,6 +1100,14 @@ operation_sync(){ operation_vote() { + + # aurvoteの確認 + if ! type aurvote 1> /dev/null 2> /dev/null; then + msg_error "There is no aurvote" + msg_error "Please install with \"wfa -S aurvote\"" + exit 1 + fi + local _package _aur_json _found_result_count _pkgver _before_popularity _before_vote for _package in ${specified_packages[@]}; do -- 2.11.0