From 4fc14d947f5f7d71b5c99ce3ee9faedc4f66585f Mon Sep 17 00:00:00 2001 From: Mayeul Cantan Date: Sun, 21 Apr 2024 18:09:44 +0200 Subject: [PATCH] Common: remove obsolete variables and functions --- scripts/_common.sh | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index b8fe056..944a65e 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,29 +4,10 @@ # COMMON VARIABLES #================================================= -enable_relaybot=true - #================================================= # PERSONAL HELPERS #================================================= -_install_rustup() { - export PATH="$PATH:$install_dir/.cargo/bin:$install_dir/.local/bin:/usr/local/sbin" - - if [ -e "$install_dir/.rustup" ]; then - ynh_exec_as "$app" env "PATH=$PATH" rustup update - else - ynh_exec_as "$app" bash -c 'curl -sSf -L https://static.rust-lang.org/rustup.sh | sh -s -- -y --default-toolchain=stable --profile=minimal' - fi -} - -_mautrix_signal_build_venv() { - python3 -m venv "$install_dir/venv" - "$install_dir/venv/bin/pip3" install --upgrade pip setuptools wheel - "$install_dir/venv/bin/pip3" install --upgrade \ - "$install_dir/src/mautrix-signal.tar.gz[metrics,e2be,formattednumbers,qrlink,stickers]" -} - #================================================= # EXPERIMENTAL HELPERS #=================================================