From 487035ad6ef197b391565c03ad11f040fefa03b0 Mon Sep 17 00:00:00 2001 From: Tommy Miland Date: Thu, 10 Oct 2024 15:22:08 +0200 Subject: [PATCH] Disable rust warnings for inv sig helper install - Disable rust warnings for inv sig helper install - Closes #117 --- invidious_update.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/invidious_update.sh b/invidious_update.sh index a4a3152..bc7bd54 100755 --- a/invidious_update.sh +++ b/invidious_update.sh @@ -1478,14 +1478,15 @@ install_inv_sig_helper() { cd $USER_DIR || exit 1 - git clone https://github.com/iv-org/inv_sig_helper.git + git clone https://github.com/iv-org/inv_sig_helper.git >/dev/null 2>&1 chown -R $USER_NAME:$USER_NAME inv_sig_helper cd inv_sig_helper || exit 1 # Install cargo / rust - curl -fsSL sh.rustup.rs | sh -s -- -y + curl -fsSL sh.rustup.rs | sh -s -- -y >/dev/null 2>&1 # Source cargo - . "$HOME/.cargo/env" + . "$HOME/.cargo/env" >/dev/null 2>&1 # Build release + RUSTFLAGS=-Awarnings \ cargo build --release # Copy service file to systemd folder cp -rp $USER_DIR/inv_sig_helper/inv_sig_helper.service /etc/systemd/system/