1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bozon_ynh.git synced 2024-09-03 18:16:09 +02:00
This commit is contained in:
ewilly 2016-10-12 21:33:40 +02:00
parent c326837466
commit 66a8646488
2 changed files with 2 additions and 14 deletions

View file

@ -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.

View file

@ -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)