mirror of
https://github.com/YunoHost-Apps/hubzilla_ynh.git
synced 2024-09-03 19:26:21 +02:00
Dependecy fix for stretch
This commit is contained in:
parent
b4b83eca41
commit
f8737de518
3 changed files with 16 additions and 4 deletions
|
@ -66,8 +66,11 @@ ynh_app_setting_set $app database $database
|
||||||
#=================================================
|
#=================================================
|
||||||
# INSTALL DEPENDENCIES
|
# INSTALL DEPENDENCIES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
pkg_dependencies=php5-cli php5-imagick php5-gd php5-mcrypt
|
||||||
ynh_install_app_dependencies php5-cli php5-imagick php5-gd php5-mcrypt php-xml
|
if [ "$(lsb_release --codename --short)" != "jessie" ]; then
|
||||||
|
pkg_dependencies="$pkg_dependencies php-xml"
|
||||||
|
fi
|
||||||
|
ynh_install_app_dependencies $pkg_dependencies
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CREATE A MYSQL DATABASE
|
# CREATE A MYSQL DATABASE
|
||||||
|
|
|
@ -84,8 +84,11 @@ ynh_restore_file "/etc/php5/fpm/conf.d/20-$app.ini"
|
||||||
# REINSTALL DEPENDENCIES
|
# REINSTALL DEPENDENCIES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Define and install dependencies
|
pkg_dependencies=php5-cli php5-imagick php5-gd php5-mcrypt
|
||||||
ynh_install_app_dependencies php5-cli php5-imagick php5-gd php5-mcrypt php-xml
|
if [ "$(lsb_release --codename --short)" != "jessie" ]; then
|
||||||
|
pkg_dependencies="$pkg_dependencies php-xml"
|
||||||
|
fi
|
||||||
|
ynh_install_app_dependencies $pkg_dependencies
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RESTORE THE CRON FILE
|
# RESTORE THE CRON FILE
|
||||||
|
|
|
@ -125,6 +125,12 @@ ynh_use_logrotate "$final_path/php.log" --non-append
|
||||||
sed -i "s@YNH_WWW_PATH@$final_path@g" ../conf/poller-cron
|
sed -i "s@YNH_WWW_PATH@$final_path@g" ../conf/poller-cron
|
||||||
sudo cp ../conf/poller-cron /etc/cron.d/$app
|
sudo cp ../conf/poller-cron /etc/cron.d/$app
|
||||||
|
|
||||||
|
pkg_dependencies=php5-cli php5-imagick php5-gd php5-mcrypt
|
||||||
|
if [ "$(lsb_release --codename --short)" != "jessie" ]; then
|
||||||
|
pkg_dependencies="$pkg_dependencies php-xml"
|
||||||
|
fi
|
||||||
|
ynh_install_app_dependencies $pkg_dependencies
|
||||||
|
|
||||||
# Make app public
|
# Make app public
|
||||||
ynh_app_setting_set $app skipped_uris "/"
|
ynh_app_setting_set $app skipped_uris "/"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue