1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/fittrackee_ynh.git synced 2024-09-03 18:36:16 +02:00

Merge pull request #36 from YunoHost-Apps/testing

Testing
This commit is contained in:
Thomas 2023-09-09 07:28:20 +02:00 committed by GitHub
commit e49294c653
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 9 deletions

View file

@ -59,14 +59,13 @@ export PATH="$PATH:$install_dir/.cargo/bin:$install_dir/.local/bin:/usr/local/sb
else else
sudo -u "$app" bash -c 'curl -sSf -L https://static.rust-lang.org/rustup.sh | sh -s -- -y --default-toolchain=stable --profile=minimal' sudo -u "$app" bash -c 'curl -sSf -L https://static.rust-lang.org/rustup.sh | sh -s -- -y --default-toolchain=stable --profile=minimal'
fi fi
fi fi
pushd $install_dir pushd $install_dir
python3 -m venv $install_dir/venv python3 -m venv $install_dir/venv
source $install_dir/venv/bin/activate source $install_dir/venv/bin/activate
ynh_exec_warn_less pip install --upgrade pip ynh_exec_warn_less pip install --upgrade pip wheel toml pyyaml
ynh_exec_warn_less pip install fittrackee==$fittrackee_version toml pyyaml ynh_exec_warn_less pip install fittrackee==$fittrackee_version
popd popd
#================================================= #=================================================

View file

@ -70,17 +70,13 @@ export PATH="$PATH:$install_dir/.cargo/bin:$install_dir/.local/bin:/usr/local/sb
else else
sudo -u "$app" bash -c 'curl -sSf -L https://static.rust-lang.org/rustup.sh | sh -s -- -y --default-toolchain=stable --profile=minimal' sudo -u "$app" bash -c 'curl -sSf -L https://static.rust-lang.org/rustup.sh | sh -s -- -y --default-toolchain=stable --profile=minimal'
fi fi
sudo -u "$app" env PATH=$PATH rustup install stable
sudo -u "$app" env PATH=$PATH rustup default stable
fi fi
pushd $install_dir pushd $install_dir
python3 -m venv $install_dir/venv python3 -m venv $install_dir/venv
source $install_dir/venv/bin/activate source $install_dir/venv/bin/activate
ynh_exec_warn_less pip install --upgrade pip ynh_exec_warn_less pip install --upgrade pip wheel toml pyyaml
ynh_exec_warn_less pip install fittrackee==$fittrackee_version toml pyyaml ynh_exec_warn_less pip install fittrackee==$fittrackee_version
popd popd