From 974afc3e9b8ff0dfa035b10223b362c0c60f92e0 Mon Sep 17 00:00:00 2001 From: Menno van Leeuwen Date: Sun, 25 Aug 2024 04:48:56 +0200 Subject: [PATCH] chore: Install shyaml if not already installed in update.sh --- bin/actions/update.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/actions/update.sh b/bin/actions/update.sh index 138dcbc..75e8777 100755 --- a/bin/actions/update.sh +++ b/bin/actions/update.sh @@ -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