Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ealmonte32 authored Apr 11, 2019
1 parent 24924ad commit d0e7883
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions bin/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,23 @@ echo && read -p "Would you like to use the experimental branch? It contains the
if [ "$EXP" != 'y' ]; then
echo && read -p "Would you like to use the development branch? You will get the latest features, but things may break. (y/N)" -n 1 -r -s DEV && echo
if [ "$DEV" != 'y' ]; then
export DOCKER_TAG="production" && echo "Screenly OSE version: Production" > ~/OSE_version.md
export DOCKER_TAG="production"
echo "Screenly OSE version: Production" > ~/OSE_version.md
BRANCH="production"
else
export DOCKER_TAG="latest" && echo "Screenly OSE version: Development" > ~/OSE_version.md
export DOCKER_TAG="latest"
echo "Screenly OSE version: Development" > ~/OSE_version.md
BRANCH="master"
fi
else
export DOCKER_TAG="experimental" && echo "Screenly OSE version: Experimental" > ~/OSE_version.md
export DOCKER_TAG="experimental"
echo "Screenly OSE version: Experimental" > ~/OSE_version.md
BRANCH="experimental"
fi

#Add reference of what linux flavor is running to OSE_version file
cat /etc/os-release | grep "PRETTY_NAME" >> ~/OSE_version.md

echo && read -p "Do you want Screenly to manage your network? This is recommended for most users. (Y/n)" -n 1 -r -s NETWORK && echo
if [ "$NETWORK" == 'n' ]; then
export MANAGE_NETWORK=false
Expand Down

0 comments on commit d0e7883

Please sign in to comment.