Skip to content

Commit

Permalink
don't let kill the script if oref0 already exists
Browse files Browse the repository at this point in the history
  • Loading branch information
scottleibrand committed Oct 21, 2019
1 parent cf1603f commit d5772be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/openaps-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ sed -i "s/#compress/compress/g" /etc/logrotate.conf
# Change the openaps-packages.sh curl command to the following before merging dev to master:
#curl -s https://raw.githubusercontent.com/openaps/oref0/$BRANCH/bin/openaps-packages.sh | bash -
curl -s https://raw.githubusercontent.com/openaps/oref0/dev/bin/openaps-packages.sh | bash -
mkdir -p ~/src; cd ~/src && git clone git://github.com/openaps/oref0.git ; (cd oref0 && git checkout $BRANCH && git pull)
mkdir -p ~/src; cd ~/src && ls -d oref0 && (cd oref0 && git checkout $BRANCH && git pull) || git clone git://github.com/openaps/oref0.git
echo "Press Enter to run oref0-setup with the current release ($BRANCH branch) of oref0,"
read -p "or press ctrl-c to cancel. " -r
cd && ~/src/oref0/bin/oref0-setup.sh

0 comments on commit d5772be

Please sign in to comment.