From 44de7b887568db3743a34026ff102eae20345df5 Mon Sep 17 00:00:00 2001 From: James Aaron Erang Date: Mon, 13 May 2024 13:56:32 +0800 Subject: [PATCH] fix arch error --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index e688252..4e51b51 100755 --- a/install.sh +++ b/install.sh @@ -75,7 +75,8 @@ function install_macos() { # Function to install for arch (and other forks like manjaro) function install_arch() { echo "Installing required packages" - sudo pacman -S --needed python3 python-pipx tk git && python3 -m ensurepip unzip || install_fail + sudo pacman -S --needed python3 python-pipx tk git unzip + python -m ensurepip || install_fail } # Function to install for debian (and ubuntu) @@ -93,8 +94,7 @@ function install_fedora() { # Function to install for centos (and other forks based on it) function install_centos() { echo "Installing required packages" - sudo yum install -y python3 || install_fail - sudo yum install -y python3-tkinter pipx epel-release python3-pip unzip|| install_fail + sudo yum install -y python3-tkinter pipx epel-release python3-pip unzip python3 || install_fail } function get_the_bot() {