Skip to content

Instantly share code, notes, and snippets.

@nrobinson2000
Last active December 6, 2018 20:47
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nrobinson2000/64fdf45ffb2d92a9090a246e4f53f6c5 to your computer and use it in GitHub Desktop.
Save nrobinson2000/64fdf45ffb2d92a9090a246e4f53f6c5 to your computer and use it in GitHub Desktop.
Script to install po on CEHS computers
#!/bin/bash -li
echo "
Are you ready to install po-util?
Please be sure to follow any prompts or instructions
during the installation process."
read -rp "ENTER / CTRL-C: "
echo "
Continuing installation...
"
# Uninstall Old Dependencies
brew uninstall po
brew uninstall gcc-arm-none-eabi-49
brew untap nrobinson2000/po
# Re-Install Homebrew
sudo chown -R $(whoami) /usr/local/*
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Install po
brew update
brew tap nrobinson2000/po
brew install po
po config release/v0.8.0-rc.7 duo true
po install
po setup-atom

How to run this script:

Open a Terminal and paste in the following:

bash <(curl -sL https://gist.githubusercontent.com/nrobinson2000/64fdf45ffb2d92a9090a246e4f53f6c5/raw/7bc37090487ceb464eadcc53be27f231751b31f7/cehs-install.sh)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment