Skip to content

Commit

Permalink
feat: request sudo if user wants to install in system
Browse files Browse the repository at this point in the history
  • Loading branch information
albjeremias authored Nov 3, 2024
1 parent 75ff998 commit 932f27a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,11 @@ git clone https://github.com/pelias/docker.git
cd docker

# install pelias script
# this is the _only_ setup command that should require `sudo`
export PATH=$PATH:`pwd`
read -p "Would you like to install pelias in your system (needs sudo)? (y/n)?" choice
case "$choice" in
y|Y ) sudo ln -s "$(pwd)/pelias" /usr/local/bin/pelias;;
* ) export PATH=$PATH:`pwd`;;
esac

# cd into the project directory
cd projects/portland-metro
Expand Down

0 comments on commit 932f27a

Please sign in to comment.