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:
parent
7d88c60ed1
commit
38da0fd93f
4 changed files with 6 additions and 12 deletions
|
@ -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…
Reference in a new issue