Skip to content

Instantly share code, notes, and snippets.

@Stebalien Stebalien/update.sh
Last active Feb 9, 2017

Embed
What would you like to do?
Arch Linux rust-nightly updater
#!/bin/bash
VERSION=$(curl "https://static.rust-lang.org/dist/channel-rust-nightly-date.txt")
sed -i PKGBUILD -e 's/^_date=.*$/_date='"${VERSION}/"
makepkg -sirf --noconfirm
git add PKGBUILD
git commit -m "bump"
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.