1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ffsync_ynh.git synced 2024-09-03 18:26:38 +02:00

Fix dependances

This commit is contained in:
Josué Tille 2019-05-08 15:02:14 +02:00
parent 7d88c60ed1
commit 38da0fd93f
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF
4 changed files with 6 additions and 12 deletions

View file

@ -1,5 +1,8 @@
#!/bin/bash
# Note that we also need some specific dependances for build with arm architectures
dependances="python-dev python-virtualenv virtualenv uwsgi uwsgi-plugin-python build-essential libssl-dev libffi-dev"
# Check if system wide templates are available and correcly configured
#
# usage: ynh_check_global_uwsgi_config

View file

@ -58,10 +58,7 @@ ynh_webpath_register "$app" "$domain" "$path_url"
#=================================================
# Check depends installation
ynh_install_app_dependencies python-dev python-virtualenv \
uwsgi uwsgi-plugin-python \
`# ARM support: ` \
build-essential libssl-dev libffi-dev
ynh_install_app_dependencies $dependances
#=================================================
# CREATE A MYSQL DATABASE

View file

@ -71,10 +71,7 @@ chmod u=rwX,g=rX,o= -R $final_path
# REINSTALL DEPENDENCIES
#=================================================
ynh_install_app_dependencies python-dev python-virtualenv \
uwsgi uwsgi-plugin-python \
`# ARM support: ` \
build-essential libssl-dev libffi-dev
ynh_install_app_dependencies $dependances
# set authorizations
chown $app:root /var/log/uwsgi/$app

View file

@ -93,10 +93,7 @@ path_url=$(ynh_normalize_url_path "$path_url")
#=================================================
# Check depends installation
ynh_install_app_dependencies python-dev python-virtualenv \
uwsgi uwsgi-plugin-python \
`# ARM support: ` \
build-essential libssl-dev libffi-dev
ynh_install_app_dependencies $dependances
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE