Skip to content

Instantly share code, notes, and snippets.

View okomestudio's full-sized avatar

Taro Sato okomestudio

View GitHub Profile
@okomestudio
okomestudio / arc_setup.sh
Created February 9, 2016 21:10 — forked from thomas-barthelemy/arc_setup.sh
W.E. Bridge Phabricator Arcanist (arc) Setup script for Ubuntu
#!/bin/bash
if [ -z "$1" ]; then
echo -e "Missing 1 parameter: Phabricator URL."
echo -e "ex: arc_setup.sh https://phabricator.mycompany.com"
fi
if ! hash git &> /dev/null || ! hash php &> /dev/null; then
echo -e " *****\n ***** INSTALLING GIT AND PHP\n *****"
sudo apt-get install git-core php5-cli php5-curl
fi