Skip to content

Commit

Permalink
refactor: to more universal reinstaller
Browse files Browse the repository at this point in the history
  • Loading branch information
dd84ai committed Dec 10, 2023
1 parent cb2614c commit 6a8e460
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ text version at ubuntu 22.04:

- install curl if not installed.(`apt update && apt install -y curl` for debian/ubuntu)
- install git if not present (`apt update && apt install -y git` for debian/ubuntu)
- install autogit with `rm /usr/local/bin/autogit ; curl -L $(curl -Ls -o /dev/null -w %{url_effective} https://github.com/darklab8/darklab_autogit/releases/latest | sed "s/releases\/tag/releases\/download/")/autogit-linux-amd64 -o /usr/local/bin/autogit && chmod 777 /usr/local/bin/autogit`
- install autogit with `rm $(which autogit) ; curl -L $(curl -Ls -o /dev/null -w %{url_effective} https://github.com/darklab8/darklab_autogit/releases/latest | sed "s/releases\/tag/releases\/download/")/autogit-linux-amd64 -o /usr/local/bin/autogit && chmod 777 /usr/local/bin/autogit`
- check installation with `autogit version` command. Expect to see `OK autogit version: v{version}`

### install specific version
Expand All @@ -64,7 +64,7 @@ text version at ubuntu 22.04:
## Windows

- install [Git Bash](https://git-scm.com/downloads)
- instal lautogit `mkdir -p ~/bin ; rm ~/bin/autogit.exe ; curl -L $(curl -Ls -o /dev/null -w %{url_effective} https://github.com/darklab8/darklab_autogit/releases/latest | sed "s/releases\/tag/releases\/download/")/autogit-windows-amd64.exe -o ~/bin/autogit.exe && chmod 777 ~/bin/autogit.exe`
- instal lautogit `mkdir -p ~/bin ; rm $(which autogit) ; curl -L $(curl -Ls -o /dev/null -w %{url_effective} https://github.com/darklab8/darklab_autogit/releases/latest | sed "s/releases\/tag/releases\/download/")/autogit-windows-amd64.exe -o ~/bin/autogit.exe && chmod 777 ~/bin/autogit.exe`
- check installation with `autogit version` command. Expect to see `OK autogit version: v{version}`

## Contacts
Expand Down

0 comments on commit 6a8e460

Please sign in to comment.