Skip to content

Commit

Permalink
feat: add helpful info
Browse files Browse the repository at this point in the history
  • Loading branch information
QEDK committed Mar 7, 2024
1 parent f57158b commit f6a1a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion availup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ if [ "$UPGRADE" = 1 ]; then
sudo rm $HOME/.availup/avail-light
else
echo "🤔 Avail was not installed with availup. Attemping to uninstall with cargo..."
cargo uninstall avail-light
cargo uninstall avail-light || echo "👀 Avail was not installed with cargo, upgrade might not be required!"
if command -v avail-light >/dev/null 2>&1; then
echo "🚫 Avail was not uninstalled. Please uninstall manually and try again."
exit 1
Expand Down

0 comments on commit f6a1a37

Please sign in to comment.