Skip to content

Commit aa449cd

Browse files
committed
[fix] : Fixed typo
1 parent e80671a commit aa449cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,9 +364,9 @@ prepare_env() {
364364
if [[ "${nodepend}" = false ]]; then
365365
local _check_failed=false _pkg _result=0
366366
msg_info "Checking dependencies ..."
367-
if pacman -Qq pyalpm > /dev/null 2>&1; then
367+
if ! pacman -Qq pyalpm > /dev/null 2>&1; then
368368
msg_error "pyalpm is not installed." 1
369-
fi
369+
fi
370370
for _pkg in "${dependence[@]}"; do
371371
eval "${tools_dir}/package.py" "${_pkg}" "$( [[ "${debug}" = false ]] && echo "> /dev/null")" || _result="${?}"
372372
if (( _result == 3 )) || (( _result == 4 )); then

0 commit comments

Comments
 (0)