Skip to content

Instantly share code, notes, and snippets.

@z3ntu
Created December 18, 2015 08:47
Show Gist options
  • Save z3ntu/a673a7b5b1621c45e966 to your computer and use it in GitHub Desktop.
Save z3ntu/a673a7b5b1621c45e966 to your computer and use it in GitHub Desktop.
Installs unity for arch
#!/bin/sh
sudo echo "***Starting script 'unity-arch.in'...***"
echo "==============================
Adding Unity repos to pacman.conf..."
echo '[Unity-for-Arch]' | sudo tee -a /etc/pacman.conf
echo 'SigLevel = Optional TrustAll' | sudo tee -a /etc/pacman.conf
echo 'Server = http://dl.dropbox.com/u/486665/Repos/$repo/$arch' | sudo tee -a /etc/pacman.conf
echo ' ' | sudo tee -a /etc/pacman.conf
echo '[Unity-for-Arch-Extra]' | sudo tee -a /etc/pacman.conf
echo 'SigLevel = Optional TrustAll' | sudo tee -a /etc/pacman.conf
echo 'Server = http://dl.dropbox.com/u/486665/Repos/$repo/$arch' | sudo tee -a /etc/pacman.conf
sudo pacman -Syu
echo "==============================
Installing Unity base packages..."
sudo pacman -S $(pacman -Slq Unity-for-Arch)
echo "==============================
Installing Unity extra packages..."
sudo pacman -S $(pacman -Slq Unity-for-Arch-Extra)
yaourt -Sa freetype2-ubuntu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment