From 3688f2858a90d9caf3861b1437e9e892b0c6d1c9 Mon Sep 17 00:00:00 2001 From: Antonio de la Rosa Date: Sun, 13 Feb 2022 14:56:40 +0100 Subject: [PATCH] Fix in archlinux script --- scripts/system/install_python.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/system/install_python.sh b/scripts/system/install_python.sh index 01f06c1..cccd2f1 100644 --- a/scripts/system/install_python.sh +++ b/scripts/system/install_python.sh @@ -12,11 +12,12 @@ DISTRO=`( lsb_release -ds || cat /etc/*release || uname -om ) 2>/dev/null | head if [[ $DISTRO =~ ^Debian ]]; then + sudo apt-get update sudo apt-get -y install python3 python3-pip elif [[ $DISTRO =~ ^NAME=\"Arch ]]; then - sudo pacman -S --noconfirm python python-pip + sudo pacman -Syu --noconfirm python python-pip else