Changing the update_pip

Signed-off-by: Marcin Woźniak <marcin.wozniak@wundermanthompson.com>
This commit is contained in:
Marcin Woźniak 2023-09-04 11:10:51 +02:00 committed by Marcin Woźniak
parent de865b3ea7
commit 72f5e481a4
1 changed files with 5 additions and 1 deletions

View File

@ -36,7 +36,11 @@ function command_start() {
function update_pip() {
# Update the pip
python3 -m pip install --upgrade pip --user
if [[ "$(uname)" == "Darwin" ]]; then
python3 -m pip install --upgrade pip --user
elif [[ "$(uname -r)" =~ "gentoo" ]]; then
sudo emerge dev-python/pip
fi
}
function install_neovim_module_for_python() {