typo fix
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# finishte.sh installer
|
||||
# inish .sh installer
|
||||
# Usage: curl -sSL https://git.appmodel.nl/Tour/finish/raw/branch/main/docs/install.sh | bash
|
||||
|
||||
set -e
|
||||
@@ -88,7 +88,7 @@ download_file() {
|
||||
# Main installation
|
||||
main() {
|
||||
echo_green "=========================================="
|
||||
echo_green " finishte.sh Installation"
|
||||
echo_green " inish .sh Installation"
|
||||
echo_green " Version: $ACSH_VERSION"
|
||||
echo_green "=========================================="
|
||||
echo ""
|
||||
@@ -97,11 +97,11 @@ main() {
|
||||
SHELL_TYPE=$(detect_shell)
|
||||
case "$SHELL_TYPE" in
|
||||
zsh)
|
||||
SCRIPT_NAME="finishte.zsh"
|
||||
SCRIPT_NAME="inish .zsh"
|
||||
RC_FILE="$HOME/.zshrc"
|
||||
;;
|
||||
bash)
|
||||
SCRIPT_NAME="finishte.sh"
|
||||
SCRIPT_NAME="inish .sh"
|
||||
RC_FILE="$HOME/.bashrc"
|
||||
;;
|
||||
*)
|
||||
@@ -122,7 +122,7 @@ main() {
|
||||
|
||||
# Determine installation location
|
||||
if [ -d "$HOME/.local/bin" ]; then
|
||||
INSTALL_LOCATION="$HOME/.local/bin/finishte"
|
||||
INSTALL_LOCATION="$HOME/.local/bin/inish "
|
||||
# Add to PATH if not already there
|
||||
if ! echo "$PATH" | grep -q "$HOME/.local/bin"; then
|
||||
echo_warning "$HOME/.local/bin is not in PATH"
|
||||
@@ -132,7 +132,7 @@ main() {
|
||||
fi
|
||||
fi
|
||||
elif [ -w "/usr/local/bin" ]; then
|
||||
INSTALL_LOCATION="/usr/local/bin/finishte"
|
||||
INSTALL_LOCATION="/usr/local/bin/inish "
|
||||
else
|
||||
echo_error "Cannot write to /usr/local/bin and $HOME/.local/bin doesn't exist"
|
||||
echo "Please create $HOME/.local/bin or run with sudo"
|
||||
@@ -143,7 +143,7 @@ main() {
|
||||
mkdir -p "$(dirname "$INSTALL_LOCATION")"
|
||||
|
||||
# Download script
|
||||
echo "Downloading finishte.sh..."
|
||||
echo "Downloading inish .sh..."
|
||||
URL="$REPO_URL/$BRANCH_OR_VERSION/$SCRIPT_NAME"
|
||||
if ! download_file "$URL" "$INSTALL_LOCATION"; then
|
||||
echo_error "Failed to download from $URL"
|
||||
|
||||
Reference in New Issue
Block a user