salarkhan / git-pear

swap credentials after each commit
3 stars 0 forks source link

If home-brew not install install fair #37

Closed supertopher closed 10 years ago

supertopher commented 10 years ago

homebrew create usr/local/bin (and probably own it for the user too) therefore our install will fail without home-brew

salarkhan commented 10 years ago

fack. I guess create it if it doesnt exist?

salarkhan commented 10 years ago

Or, I feel like I've seen people install to $HOME/binwhen they don't have homebrew... is that acceptable?

supertopher commented 10 years ago

i'm not sure what is supposed to be in there, but i don't think that is unix cool we should probably politely ask the user to install brew or have a flag on install for creating the directory.

thoughts?

salarkhan commented 10 years ago

I like both of those ideas.

./install asks them to install brew if it doesn't exist ./install -f creates /usr/local/bin & informs the user that is where pear has been installed

(doesn't have to be f for the flag.)

supertopher commented 10 years ago

./install should also tell them about the option of ./install --force i'm into force because i like brew, but i don't really care. everything else looks sick as far as the plan in concerned

this thing has options.

current permission of /usr/local/bin are drwxr-xr-x we should just chmod +x or whatever to git it the rest of the way

options

salarkhan commented 10 years ago

Yes to all of this.

Btw we should comment on issues to let each other know which ones are already being worked on. Kinda like a ghetto version of Trello/Pivotal.

supertopher commented 10 years ago

:+1: :pager:

salarkhan commented 10 years ago

Tackling this now.