fix: improve Tabby installation with error handling and explicit file path

This commit is contained in:
Paul M 2025-07-14 21:10:47 -05:00
parent c4d8698741
commit 76d349df68

View file

@ -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