xbps-src: [install_pkg_from_repos] handle 2nd ENOENT.
This commit is contained in:
parent
8d21b447ca
commit
09370643f1
1 changed files with 3 additions and 3 deletions
|
@ -45,9 +45,9 @@ install_pkg_from_repos()
|
||||||
# package not found (ENOENT), try to workaround it if there
|
# package not found (ENOENT), try to workaround it if there
|
||||||
# are extra double quotes.
|
# are extra double quotes.
|
||||||
${cmd} "$pkg" >${wrksrc}/.xbps_install_dependency_${pkgdepname}.log 2>&1
|
${cmd} "$pkg" >${wrksrc}/.xbps_install_dependency_${pkgdepname}.log 2>&1
|
||||||
if [ $? -ne 0 -a $? -ne 6 ]; then
|
if [ $? -ne 0 -a $? -ne 6 -a $? -ne 2 ]; then
|
||||||
msg_red "Please see ${wrksrc}/.xbps_install_${pkgdepname}.log to see what went wrong!\n"
|
msg_red "'${pkgname}': failed to install '${pkg}' dependency!\n"
|
||||||
msg_error "'${pkgname}': failed to install '${pkg}' required dependencies!\n"
|
msg_error "Please see ${wrksrc}/.xbps_install_${pkgdepname}.log to see what went wrong!\n"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue