From 9ffa34a23a12bd60cdb01a8e66b5785b8f9df642 Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Sat, 1 Jun 2019 13:20:15 +0200 Subject: [PATCH] getopts not supported in ynh 2.4.0 --- scripts/remove | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/remove b/scripts/remove index f02f6e7..aae4e59 100755 --- a/scripts/remove +++ b/scripts/remove @@ -9,8 +9,8 @@ main() { local deploy_path=$(ynh_app_setting_get $app deploy_path) local nginx_conf="/etc/nginx/conf.d/${domain}.d/${app}.conf" - ynh_secure_remove --file=$deploy_path - ynh_secure_remove --file=$nginx_conf + ynh_secure_remove $deploy_path + ynh_secure_remove $nginx_conf sudo service nginx reload }