From df5a5cb21096733a3ac206ceb8847fd04e1deec2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= Date: Sat, 7 Jul 2018 11:14:58 +0200 Subject: [PATCH] remove deprecated checkurl --- scripts/install | 2 +- scripts/restore | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index ee7f0f2..d2bf2bb 100755 --- a/scripts/install +++ b/scripts/install @@ -39,7 +39,7 @@ if [[ $admin_user != '' ]]; then fi # Check domain/path availability -sudo yunohost app checkurl $domain$path -a $app || ynh_die "The path ${domain}${path} is not available for app installation." +sudo yunohost app register-url $app $domain $path #install php5-cli ynh_package_install_from_equivs ../conf/${DEPS_PKG_NAME}.control \ diff --git a/scripts/restore b/scripts/restore index f6b80f0..c6bf2c5 100644 --- a/scripts/restore +++ b/scripts/restore @@ -15,7 +15,7 @@ domain=$(ynh_app_setting_get $app domain) path=$(ynh_app_setting_get $app path) # Check domain/path availability -sudo yunohost app checkurl $domain$path -a $app || ynh_die "The path ${domain}${path} is not available for app installation." +sudo yunohost app register-url $app $domain $path db_pass=$(ynh_app_setting_get $app mysqlpwd)