Skip to content

Instantly share code, notes, and snippets.

View thomas-barthelemy's full-sized avatar

Thomas Barthelemy thomas-barthelemy

View GitHub Profile
@thomas-barthelemy
thomas-barthelemy / arc_setup.sh
Last active January 11, 2020 22:54 — forked from makinde/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