Skip to content

Commit

Permalink
rm: rm unnecessary sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
QEDK committed Mar 7, 2024
1 parent 693d884 commit b6b4b0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions availup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ if [ command -v avail-light >/dev/null 2>&1 ] && [ "$UPGRADE" = 0 ]; then
exit 0
fi
if [ "$UPGRADE" = 1 ]; then
echo "🔄 Upgrading Avail. This step might prompt for a password."
echo "🔄 Upgrading Avail..."
if [ -f "$HOME/.availup/avail-light" ]; then
sudo rm $HOME/.availup/avail-light
rm $HOME/.availup/avail-light
else
echo "🤔 Avail was not installed with availup. Attemping to uninstall with cargo..."
cargo uninstall avail-light || echo "👀 Avail was not installed with cargo, upgrade might not be required!"
Expand Down

0 comments on commit b6b4b0e

Please sign in to comment.