Skip to content

Commit

Permalink
update install script
Browse files Browse the repository at this point in the history
  • Loading branch information
amoblin committed May 11, 2016
1 parent 281cfff commit df2eabe
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,12 @@ cd $TMP_PATH

info "Installing scripts...\n"

if [ -d /usr/local/bin ]; then
sudo cp gitdisk-update /usr/bin
sudo chmod 755 /usr/bin/gitdisk-update
else
sudo cp gitdisk-update /usr/local/bin
sudo chmod 755 /usr/local/bin/gitdisk-update
if [ ! -d /usr/local/bin ]; then
sudo mkdir /usr/local/bin
fi

sudo install -m 755 gitdisk-update /usr/local/bin/gitdisk-update

sudo cp gitdisk-update.applescript "/Library/Scripts/Folder Action Scripts"

printf "${GREEN}"
Expand Down

0 comments on commit df2eabe

Please sign in to comment.