From 72f5e481a4155027bb94ed448a4e70df477cca7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Mon, 4 Sep 2023 11:10:51 +0200 Subject: [PATCH] Changing the update_pip MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcin Woźniak --- .local/bin/Update-pkg | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.local/bin/Update-pkg b/.local/bin/Update-pkg index dcac502..7c7a4fb 100755 --- a/.local/bin/Update-pkg +++ b/.local/bin/Update-pkg @@ -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() {