diff --git a/scripts/install b/scripts/install index 9c6e8e8..251babc 100644 --- a/scripts/install +++ b/scripts/install @@ -51,10 +51,7 @@ ynh_app_setting_set $app is_public $is_public #sudo yunohost app setting $app is_public -v "$is_public" #install dependency -ynh_package_is_installed 'php-geoip' -if [[ ! $? -eq 0 ]]; then - ynh_package_install 'php-geoip' -fi +ynh_install_app_dependencies $pkg_dependencies #install locale (nginx will restart at the end of the install) for i in $lang