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

Merge branch 'testing'

This commit is contained in:
Josué Tille 2019-05-09 09:44:28 +02:00
commit e27b658397
No known key found for this signature in database
GPG key ID: D5E068C6DFA8681D
5 changed files with 8 additions and 14 deletions

View file

@ -13,6 +13,6 @@ Once installed, reaching `http://domain.tld/path` should show a page explaining
## Links
* Report a bug about this package: https://github.com/YunoHost-Apps/ffsync_ynh
* Report a bug about Funkwhale itself: https://github.com/mozilla-services/syncserver
* Report a bug about firefox sync itself: https://github.com/mozilla-services/syncserver
* Documentation: https://docs.services.mozilla.com/howtos/run-sync-1.5.html
* YunoHost website: https://yunohost.org/

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