Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronfagan authored May 2, 2019
1 parent edc0f20 commit 9ee3859
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@
echo -ne '\033[0;37m'
echo -ne "\nDownloading Pushover CLI..."
BRANCH="${1}"
if [ "${BRANCH}" == "dev" ]; then
BRANCH="develop"
else
BRANCH="master"
fi
if [ "${BRANCH}" == "dev" ]; then BRANCH="develop"; else BRANCH="master"; fi
git clone --branch "${BRANCH}" --depth 1 [email protected]:aaronfagan/pushover-cli.git /tmp/pushover-cli > /dev/null 2>&1
cp /tmp/pushover-cli/bin/pushover /usr/local/bin/pushover
chmod +x /usr/local/bin/pushover
Expand Down

0 comments on commit 9ee3859

Please sign in to comment.