mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-12-25 02:41:48 +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 [ -z "$PM" ]; then
|
||||
echo "Unable to determine package manager: unknown distribution"
|
||||
exit 1
|
||||
abort
|
||||
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
|
||||
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