mirror of
https://github.com/YunoHost-Apps/plume_ynh.git
synced 2024-09-03 20:15:54 +02:00
Adding Cargo PATH
This commit is contained in:
parent
754e9abc23
commit
683bcebfe0
1 changed files with 1 additions and 0 deletions
|
@ -159,6 +159,7 @@ chown -R $app: $final_path
|
|||
|
||||
# App settings
|
||||
( cd $final_path && sudo -u "$app" curl -sSf -L https://static.rust-lang.org/rustup.sh | sh -s -- -y --default-toolchain=nightly )
|
||||
source $HOME/.cargo/env
|
||||
export PATH="$PATH:/var/www/$app/.cargo/bin:/var/$app/.local/bin:/usr/local/sbin"
|
||||
export FEATURES=postgres
|
||||
( cd $final_path/$app && sudo -u "$app" cargo install diesel_cli --no-default-features --features postgres --version '=1.3.0' )
|
||||
|
|
Loading…
Add table
Reference in a new issue