summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2020-05-29 15:54:57 +0300
committerCaleb Maclennan2020-05-29 15:54:57 +0300
commit85f2f5cd5bb741e69ed4428c85a1e3dd1602555d (patch)
treec7490240e07cb3079b0732e31cf436f0e54b38e1
parent414d82ff703516515c885ebe2ab57d01644f87f4 (diff)
downloadaur-85f2f5cd5bb741e69ed4428c85a1e3dd1602555d.tar.gz
upgpkg: comrak-git 0.7.0.r17.g500d73f-3
Don't force update of Rust toolchain if a nightly exists
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3c85ddec76d..dcfbe122788 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,7 +21,8 @@ pkgver() {
prepare() {
cd "${pkgname%-git}"
- rustup install --no-self-update nightly
+ rustup toolchain list | grep -q '^nightly' ||
+ rustup install --no-self-update nightly
cargo +nightly fetch
}