Skip to content

Instantly share code, notes, and snippets.

@jameslmartin
Last active August 29, 2015 14:03
Show Gist options
  • Save jameslmartin/d8a43e45ef9342435264 to your computer and use it in GitHub Desktop.
Save jameslmartin/d8a43e45ef9342435264 to your computer and use it in GitHub Desktop.
provision.sh
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