From 82539e87bb4439fa3d3b46ed640ee19368cc4b21 Mon Sep 17 00:00:00 2001 From: Mason10198 <31994327+Mason10198@users.noreply.github.com> Date: Wed, 24 Jul 2024 07:50:55 -0500 Subject: [PATCH] Update swp-install --- swp-install | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/swp-install b/swp-install index d6aab08..00cf1cc 100644 --- a/swp-install +++ b/swp-install @@ -123,8 +123,10 @@ install_dependencies() { elif [ "$OS" = "arch" ]; then pacman -Syu --noconfirm pacman -S --noconfirm --needed ffmpeg - wget -q https://bootstrap.pypa.io/pip/3.5/get-pip.py - python get-pip.py + if ! command -v pip &> /dev/null; then + wget -q https://bootstrap.pypa.io/pip/3.5/get-pip.py + python get-pip.py + fi pip install requests python-dateutil pydub ruamel.yaml==0.15.100 else print_divider