mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-11-27 05:34:16 +01:00
close #76
This commit is contained in:
parent
dca2264212
commit
6d9f1e8754
@ -86,9 +86,9 @@ check_package_manager
|
|||||||
if [ -n "${NEED_INSTALL[*]}" ]; then
|
if [ -n "${NEED_INSTALL[*]}" ]; then
|
||||||
if [ -z "$PM" ]; then
|
if [ -z "$PM" ]; then
|
||||||
echo "Unable to determine package manager: unknown distribution"
|
echo "Unable to determine package manager: unknown distribution"
|
||||||
exit 1
|
abort
|
||||||
else
|
else
|
||||||
if ! sudo "$PM" "${UPDATE_OPTION[@]}" && sudo "$PM" "${INSTALL_OPTION[@]}" "${NEED_INSTALL[@]}"; then abort; fi
|
if ! (sudo "$PM" "${UPDATE_OPTION[@]}" && sudo "$PM" "${INSTALL_OPTION[@]}" "${NEED_INSTALL[@]}") then abort; fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
pip list --disable-pip-version-check | grep -E "^requests " >/dev/null 2>&1 || python3 -m pip install requests
|
pip list --disable-pip-version-check | grep -E "^requests " >/dev/null 2>&1 || python3 -m pip install requests
|
||||||
|
Loading…
Reference in New Issue
Block a user