diff --git a/conf/bozon-deps.control b/conf/bozon-deps.control deleted file mode 100644 index 8f3be90..0000000 --- a/conf/bozon-deps.control +++ /dev/null @@ -1,13 +0,0 @@ -Section: misc -Priority: optional -Homepage: http://bozon.pw -Standards-Version: 3.9.2 - -Package: bozon-deps -Version: 2.16-1 -Depends: php5-curl, php5-gd -Architecture: all -Description: meta package for bozon dependencies - BoZon is a minimalist drag & drop file sharing application. BoZon is self hostable, free and opensource. - . - This meta-package is only responsible of installing its dependencies. diff --git a/scripts/install b/scripts/install index 754a40c..4743fd1 100644 --- a/scripts/install +++ b/scripts/install @@ -28,7 +28,8 @@ sudo yunohost app checkurl "${domain}${path}" -a "$app" || ynh_die "The path ${d ynh_user_exists "$admin" || ynh_die "The chosen admin user does not exist." # add required packages -ynh_package_install_from_equivs ../conf/${app}-deps.control || ynh_die "Unable to install dependencies" +ynh_package_is_installed "php5-curl" || ynh_package_install "php5-curl" +ynh_package_is_installed "php5-gd" || ynh_package_install "php5-gd" # retrieve upstream_version version of bozon upstream_version=$(cat ../conf/upstream_version)