From 76d349df68871ef0d343d9d9e86fc3d6338164f7 Mon Sep 17 00:00:00 2001 From: Paul M Date: Mon, 14 Jul 2025 21:10:47 -0500 Subject: [PATCH] fix: improve Tabby installation with error handling and explicit file path --- mastersetup.bash | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/mastersetup.bash b/mastersetup.bash index 5096580..034f263 100755 --- a/mastersetup.bash +++ b/mastersetup.bash @@ -147,8 +147,14 @@ sudo -Hu "$SUDO_USER" bash /tmp/joplin_install.sh rm /tmp/joplin_install.sh # Tabby -download_latest_deb "Eugeny/tabby" "tabby.*amd64.deb" -sudo apt install ./tabby*.deb -y +echo "Installing Tabby..." +download_latest_deb "Eugeny/tabby" "/tmp/tabby_amd64.deb" "tabby.*amd64.deb" +if [[ -f "/tmp/tabby_amd64.deb" ]]; then + sudo apt install /tmp/tabby_amd64.deb -y +else + echo "Error: Tabby .deb file not found at /tmp/tabby_amd64.deb" >&2 + exit 1 +fi # Windsurf