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 d18a51b commit 281cfff
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,14 @@ cd $TMP_PATH

info "Installing scripts...\n"

cp gitdisk-update /usr/local/bin
chmod 755 /usr/local/bin/gitdisk-update
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
fi

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

printf "${GREEN}"
Expand Down

0 comments on commit 281cfff

Please sign in to comment.