Fixed install script
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user