Skip to content

Commit

Permalink
Update gotty.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
akindemirsec committed Mar 25, 2024
1 parent 949a428 commit 50b0663
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/gotty.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ if [ ! -f "${TMPDIR}/gotty" ]; then
exit 1
fi

# Check if /usr/bin exists, if not, create it
# Check if /usr/bin/ exists, if not, create it
if [ ! -d "/usr/bin/" ]; then
sudo mkdir -p /usr/bin/
fi

# Move gotty to /usr/bin to make it globally accessible
sudo mv "${TMPDIR}/gotty" /usr/bin/
echo "gotty has been downloaded, extracted, and moved to /usr/bin successfully."
echo "gotty has been downloaded, extracted, and moved to /usr/bin/ successfully."

# Cleanup
rm -rf "$TMPDIR"
Expand Down

0 comments on commit 50b0663

Please sign in to comment.