update urls

This commit is contained in:
dchakro 2020-08-24 16:58:27 +03:00
parent f681ee4a3c
commit 28038c6399
2 changed files with 7 additions and 7 deletions

View file

@ -1,6 +1,6 @@
[![GitHub license](https://img.shields.io/github/license/robocopAlpha/brewlog)](https://github.com/dchakro/brewlog/blob/master/LICENSE) [![GitHub license](https://img.shields.io/github/license/dchakro/brewlog)](https://github.com/dchakro/brewlog/blob/master/LICENSE)
[![GitHub issues](https://img.shields.io/github/issues/robocopAlpha/brewlog)](https://github.com/dchakro/brewlog/issues) [![GitHub issues](https://img.shields.io/github/issues/dchakro/brewlog)](https://github.com/dchakro/brewlog/issues)
[![GitHub last commit (branch)](https://img.shields.io/github/last-commit/robocopAlpha/brewlog/master.svg)](https://github.com/dchakro/brewlog/branches) [![GitHub last commit (branch)](https://img.shields.io/github/last-commit/dchakro/brewlog/master.svg)](https://github.com/dchakro/brewlog/branches)
[![Bash](https://img.shields.io/badge/Made%20with-Bash-blueviolet)](https://www.gnu.org/software/bash/) [![Bash](https://img.shields.io/badge/Made%20with-Bash-blueviolet)](https://www.gnu.org/software/bash/)
# brewlog # brewlog
@ -39,7 +39,7 @@ The script [`install.sh`](https://github.com/dchakro/brewlog/blob/master/install
```sh ```sh
# Install # Install
curl -sSL 'https://raw.githubusercontent.com/robocopAlpha/brewlog/master/install.sh' | bash curl -sSL 'https://raw.githubusercontent.com/dchakro/brewlog/master/install.sh' | bash
# Show help # Show help
brewlog --help brewlog --help
``` ```
@ -54,7 +54,7 @@ brewlog --help
```sh ```sh
# download # download
curl -OJL 'https://raw.githubusercontent.com/robocopAlpha/brewlog/master/install.sh' curl -OJL 'https://raw.githubusercontent.com/dchakro/brewlog/master/install.sh'
# Review/Modify code # Review/Modify code
bat install.sh bat install.sh
nano install.sh nano install.sh

View file

@ -9,7 +9,7 @@ else
fi fi
if [ -w $BREWLOCATION ]; then if [ -w $BREWLOCATION ]; then
curl -sSL 'https://raw.githubusercontent.com/robocopAlpha/brewlog/master/brewlog.sh' > $BREWLOCATION/brewlog curl -sSL 'https://raw.githubusercontent.com/dchakro/brewlog/master/brewlog.sh' > $BREWLOCATION/brewlog
chmod +x $BREWLOCATION/brewlog chmod +x $BREWLOCATION/brewlog
printf " printf "
brewlog has been installed as $(command -v brewlog). brewlog has been installed as $(command -v brewlog).
@ -20,7 +20,7 @@ else
shopt -s nocasematch shopt -s nocasematch
flag=1 flag=1
fi fi
curl -sSL 'https://raw.githubusercontent.com/robocopAlpha/brewlog/master/brewlog.sh' >| brewlog.sh curl -sSL 'https://raw.githubusercontent.com/dchakro/brewlog/master/brewlog.sh' >| brewlog.sh
echo "user $(whoami) cannot write to $BREWLOCATION" echo "user $(whoami) cannot write to $BREWLOCATION"
read -r -p "use sudo (y/N): " choice read -r -p "use sudo (y/N): " choice
if [[ "$choice" =~ ^(yes|y)$ ]] if [[ "$choice" =~ ^(yes|y)$ ]]