mirror of
https://github.com/YunoHost-Apps/plume_ynh.git
synced 2024-09-03 20:15:54 +02:00
Fix upgrade script
This commit is contained in:
parent
47213f2289
commit
07688751a7
1 changed files with 2 additions and 2 deletions
|
@ -101,8 +101,8 @@ ynh_install_app_dependencies gettext postgresql postgresql-contrib libpq-dev git
|
||||||
export PATH="$PATH:/var/www/$app/.cargo/bin:/var/$app/.local/bin:/usr/local/sbin"
|
export PATH="$PATH:/var/www/$app/.cargo/bin:/var/$app/.local/bin:/usr/local/sbin"
|
||||||
export FEATURES=postgres
|
export FEATURES=postgres
|
||||||
chown -R "$app":"$app" "$final_path"
|
chown -R "$app":"$app" "$final_path"
|
||||||
( cd $final_path/$app && sudo -u "$app" cargo install --path . --force )
|
( cd $final_path/$app && sudo -u "$app" cargo install --no-default-features --features postgres --force )
|
||||||
( cd $final_path/$app && sudo -u "$app" cargo install --path plume-cli --force )
|
( cd $final_path/$app && sudo -u "$app" cargo install --no-default-features --features postgres --path plume-cli --force )
|
||||||
( cd $final_path/$app && diesel migration run )
|
( cd $final_path/$app && diesel migration run )
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue