Fix dependances

master
Josué Tille 6 years ago
parent 7d88c60ed1
commit 38da0fd93f
No known key found for this signature in database
GPG Key ID: 716A6C99B04194EF

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

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

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

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

Loading…
Cancel
Save