1
0
Fork 0
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:
anmol 2018-11-11 05:03:14 +05:30
parent 637e8cdb56
commit 47213f2289

View file

@ -101,7 +101,7 @@ 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 --no-default-features --features postgres ) ( cd $final_path/$app && sudo -u "$app" cargo install --path . --force )
( cd $final_path/$app && sudo -u "$app" cargo install --path plume-cli --force ) ( cd $final_path/$app && sudo -u "$app" cargo install --path plume-cli --force )
( cd $final_path/$app && diesel migration run ) ( cd $final_path/$app && diesel migration run )