diff --git a/README.md b/README.md index c0cb90c..710d19e 100644 --- a/README.md +++ b/README.md @@ -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/ \ No newline at end of file + * YunoHost website: https://yunohost.org/ diff --git a/scripts/_common.sh b/scripts/_common.sh index 03dfd56..4c3fb92 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -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 diff --git a/scripts/install b/scripts/install index a872873..874a91c 100644 --- a/scripts/install +++ b/scripts/install @@ -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 diff --git a/scripts/restore b/scripts/restore index 541ceeb..21cf892 100644 --- a/scripts/restore +++ b/scripts/restore @@ -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 diff --git a/scripts/upgrade b/scripts/upgrade index 437b9f0..03e9c57 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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