Last active
August 29, 2015 14:03
-
-
Save jameslmartin/d8a43e45ef9342435264 to your computer and use it in GitHub Desktop.
provision.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if grep -q "\[thestinger\]" "/etc/pacman.conf"; then | |
echo "Repository already added." | |
else | |
echo $'\n[thestinger]\nSigLevel = Optional\nServer = http://pkgbuild.com/~thestinger/repo/$arch' >> /etc/pacman.conf | |
fi | |
pacman -Syuq --noconfirm | |
pacman -Sq --noconfirm community/rust |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment