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

Update CARGO PATH

This commit is contained in:
yalh76 2019-01-05 05:09:26 +01:00 committed by GitHub
parent f095810b7b
commit 97d69c9ad7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,7 +49,7 @@ fi
ynh_remove_app_dependencies
export PATH="$PATH:/var/www/$app/.cargo/bin:/var/$app/.local/bin:/usr/local/sbin"
export FEATURES=postgres
( cd $final_path/$app && sudo -u "$app" cargo uninstall diesel_cli )
( cd $final_path/$app && sudo -u "$app" /var/www/$app/.cargo/bin/cargo uninstall diesel_cli )
if [ -d "/usr/local/lib/rustlib" ]; then
sudo /usr/local/lib/rustlib/uninstall.sh