fix: improve Tabby installation with error handling and explicit file path
This commit is contained in:
parent
c4d8698741
commit
76d349df68
1 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue