mirror of
https://github.com/YunoHost-Apps/plume_ynh.git
synced 2024-09-03 20:15:54 +02:00
Update Cargo and Rustup install
This commit is contained in:
parent
378a0de1b1
commit
ed22681299
1 changed files with 2 additions and 0 deletions
|
@ -158,6 +158,8 @@ chown -R $app: $final_path
|
||||||
|
|
||||||
|
|
||||||
# App settings
|
# App settings
|
||||||
|
CARGO_HOME=$final_path
|
||||||
|
RUSTUP_HOME=$final_path
|
||||||
( cd $final_path && sudo -u "$app" curl -sSf -L https://static.rust-lang.org/rustup.sh | sh -s -- -y --default-toolchain=nightly )
|
( cd $final_path && sudo -u "$app" curl -sSf -L https://static.rust-lang.org/rustup.sh | sh -s -- -y --default-toolchain=nightly )
|
||||||
export PATH="$PATH:/var/www/$app/.cargo/bin:/var/$app/.local/bin:/usr/local/sbin:/root/.cargo/env:$HOME/.cargo/bin"
|
export PATH="$PATH:/var/www/$app/.cargo/bin:/var/$app/.local/bin:/usr/local/sbin:/root/.cargo/env:$HOME/.cargo/bin"
|
||||||
export FEATURES=postgres
|
export FEATURES=postgres
|
||||||
|
|
Loading…
Add table
Reference in a new issue