From 97d69c9ad78a5c050d69e38f428897e015f7f40d Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 5 Jan 2019 05:09:26 +0100 Subject: [PATCH] Update CARGO PATH --- scripts/remove | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/remove b/scripts/remove index cacc8de..ebae61d 100755 --- a/scripts/remove +++ b/scripts/remove @@ -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