mirror of
https://github.com/YunoHost-Apps/plume_ynh.git
synced 2024-09-03 20:15:54 +02:00
Update PATH
This commit is contained in:
parent
3825e67c66
commit
66b536ca73
1 changed files with 3 additions and 3 deletions
|
@ -159,9 +159,9 @@ chown -R $app: $final_path
|
||||||
|
|
||||||
# App settings
|
# App settings
|
||||||
( 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 )
|
||||||
sudo -u "$app" source $HOME/.cargo/env
|
( sudo -u "$app" source $HOME/.cargo/env )
|
||||||
sudo -u "$app" export PATH="$PATH:/var/www/$app/.cargo/bin:/var/$app/.local/bin:/usr/local/sbin"
|
( sudo -u "$app" export PATH="$PATH:/var/www/$app/.cargo/bin:/var/$app/.local/bin:/usr/local/sbin" )
|
||||||
sudo -u "$app" export FEATURES=postgres
|
( sudo -u "$app" export FEATURES=postgres )
|
||||||
( cd $final_path/$app && sudo -u "$app" cargo install diesel_cli --no-default-features --features postgres --version '=1.3.0' )
|
( cd $final_path/$app && sudo -u "$app" cargo install diesel_cli --no-default-features --features postgres --version '=1.3.0' )
|
||||||
( cd $final_path/$app && diesel migration run )
|
( cd $final_path/$app && diesel migration run )
|
||||||
( cd $final_path/$app && sudo -u "$app" cargo install --no-default-features --features postgres )
|
( cd $final_path/$app && sudo -u "$app" cargo install --no-default-features --features postgres )
|
||||||
|
|
Loading…
Add table
Reference in a new issue