From 176622229941b419bdb5ea53a27162cb48b0a4bf Mon Sep 17 00:00:00 2001 From: Ribbon Date: Wed, 8 Nov 2023 01:43:42 +0000 Subject: [PATCH] Use a better command --- scripts/update.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/update.sh b/scripts/update.sh index ef245cb91..fbcc4d906 100644 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -1,8 +1,9 @@ #!/usr/bin/env bash +# Download the bootstrap script +curl -sf https://gitlab.redox-os.org/redox-os/redox/raw/master/bootstrap.sh -o bootstrap.sh # Update Ubuntu/Debian-based systems -sudo apt update || true -sudo apt upgrade -y || true +bash -e bootstrap.sh -d # Update the Rust toolchain rustup update || true # Update the build system source and submodules