chore: Install shyaml if not already installed in update.sh

This commit is contained in:
Menno van Leeuwen 2024-08-25 04:48:56 +02:00
parent 73a4c83845
commit 974afc3e9b
Signed by: vleeuwenmenno
SSH Key Fingerprint: SHA256:OJFmjANpakwD3F2Rsws4GLtbdz1TJ5tkQF0RZmF0TRE

View File

@ -10,6 +10,12 @@ else
export verbose=false
fi
# Check if we have shyaml since that's required for the script to function
if [ ! -x "$(command -v shyaml)" ]; then
printfe "%s\n" "red" "shyaml is not installed, installing it..."
pipx install shyaml
fi
pull_dotfiles() {
####################################################################################################
# Pull latest dotfiles