Fixed install script

This commit is contained in:
2024-04-02 01:57:27 +02:00
parent 0ccf6427f2
commit b39e579c51

View File

@@ -37,7 +37,7 @@ arch_install() {
# Install Ansible # Install Ansible
if ! [ -x "$(command -v ansible)" ]; then if ! [ -x "$(command -v ansible)" ]; then
print_header "Installing ansible" print_header "Installing ansible"
cmd "pacman -S ansible --noconfirm" cmd "sudo pacman -S ansible --noconfirm"
fi fi
# Install Git # Install Git
if ! [ -x "$(command -v git)" ]; then if ! [ -x "$(command -v git)" ]; then
@@ -50,7 +50,7 @@ arch_install() {
cmd "sudo pacman -S python-pip --noconfirm" cmd "sudo pacman -S python-pip --noconfirm"
fi fi
# Install Watchdog # Install Watchdog
if [ -x "$(pip list | grep watchdog)" ]; then if [ -z "$(pip list | grep watchdog)" ]; then
print_header "Installing watchdog" print_header "Installing watchdog"
cmd "pip install --break-system-packages watchdog" cmd "pip install --break-system-packages watchdog"
fi fi