1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/plume_ynh.git synced 2024-09-03 20:15:54 +02:00

Fixed error in install

This commit is contained in:
anmol 2018-11-09 07:58:33 +05:30
parent 0bf7b88fe7
commit 7c7037b53a

View file

@ -161,8 +161,8 @@ chown -R $app: $final_path
# App settings # App settings
( cd $final_path && sudo -u "$app" curl -sf -L https://static.rust-lang.org/rustup.sh | sh -s -- --channel=nightly --date=2018-07-17 ) ( cd $final_path && sudo -u "$app" curl -sf -L https://static.rust-lang.org/rustup.sh | sh -s -- --channel=nightly --date=2018-07-17 )
( cd $final_path && 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" )
( cd $final_path/$app export FEATURES=postgres ) ( 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 && sudo -u "$app" diesel migration run ) ( cd $final_path/$app && sudo -u "$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 )