mirror of
https://github.com/YunoHost-Apps/plume_ynh.git
synced 2024-09-03 20:15:54 +02:00
Update Path to Cargo
This commit is contained in:
parent
f796e83fe3
commit
f095810b7b
1 changed files with 3 additions and 3 deletions
|
@ -162,10 +162,10 @@ chown -R $app: $final_path
|
||||||
PATH="$PATH:/var/www/$app/.cargo/bin"
|
PATH="$PATH:/var/www/$app/.cargo/bin"
|
||||||
export PATH="$PATH:/var/www/$app/.cargo/bin:/usr/local/sbin"
|
export PATH="$PATH:/var/www/$app/.cargo/bin:/usr/local/sbin"
|
||||||
export FEATURES=postgres
|
export FEATURES=postgres
|
||||||
( cd $final_path/$app && sudo -u "$app" -s cargo install diesel_cli --no-default-features --features postgres --version '=1.3.0' )
|
( cd $final_path/$app && sudo -u "$app" /var/www/$app/.cargo/bin/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" -s cargo install --no-default-features --features postgres )
|
( cd $final_path/$app && sudo -u "$app" /var/www/$app/.cargo/bin/cargo install --no-default-features --features postgres )
|
||||||
( cd $final_path/$app && sudo -u "$app" -s cargo install --no-default-features --features postgres --path plume-cli )
|
( cd $final_path/$app && sudo -u "$app" /var/www/$app/.cargo/bin/cargo install --no-default-features --features postgres --path plume-cli )
|
||||||
|
|
||||||
# Add new instance
|
# Add new instance
|
||||||
if [ $registration -eq 1 ]
|
if [ $registration -eq 1 ]
|
||||||
|
|
Loading…
Add table
Reference in a new issue