1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/searx_ynh.git synced 2024-09-03 20:16:30 +02:00

Merge pull request #46 from YunoHost-Apps/fix-arm-install

Fix ARM install
This commit is contained in:
Kayou 2019-05-20 09:26:35 +02:00 committed by GitHub
commit 485f32af81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 13 additions and 6 deletions

View file

@ -1,5 +1,12 @@
#!/bin/bash #!/bin/bash
#=================================================
# COMMON VARIABLES
#=================================================
# dependencies used by the app
pkg_dependencies="git build-essential libxslt-dev python-dev python-virtualenv python-cffi virtualenv python-babel zlib1g-dev libffi-dev libssl-dev python-lxml uwsgi uwsgi-plugin-python"
#================================================= #=================================================
# FUTURE OFFICIAL HELPERS # FUTURE OFFICIAL HELPERS
#================================================= #=================================================

View file

@ -59,7 +59,7 @@ ynh_app_setting_set $app is_public $is_public
#================================================= #=================================================
ynh_print_info "Installing dependencies..." ynh_print_info "Installing dependencies..."
ynh_install_app_dependencies git build-essential libxslt-dev python-dev python-virtualenv virtualenv python-babel zlib1g-dev libffi-dev libssl-dev python-lxml uwsgi uwsgi-plugin-python ynh_install_app_dependencies $pkg_dependencies
#================================================= #=================================================
# NGINX CONFIGURATION # NGINX CONFIGURATION

View file

@ -60,7 +60,7 @@ ynh_restore_file "$final_path"
#================================================= #=================================================
ynh_print_info "Reinstalling dependencies..." ynh_print_info "Reinstalling dependencies..."
ynh_install_app_dependencies git build-essential libxslt-dev python-dev python-virtualenv virtualenv python-babel zlib1g-dev libffi-dev libssl-dev python-lxml uwsgi uwsgi-plugin-python ynh_install_app_dependencies $pkg_dependencies
#================================================= #=================================================
# RECREATE OF THE DEDICATED USER # RECREATE OF THE DEDICATED USER

View file

@ -69,7 +69,7 @@ path_url=$(ynh_normalize_url_path $path_url)
#================================================= #=================================================
ynh_print_info "Upgrading dependencies..." ynh_print_info "Upgrading dependencies..."
ynh_install_app_dependencies git build-essential libxslt-dev python-dev python-virtualenv virtualenv python-babel zlib1g-dev libffi-dev libssl-dev python-lxml uwsgi uwsgi-plugin-python ynh_install_app_dependencies $pkg_dependencies
#================================================= #=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE # DOWNLOAD, CHECK AND UNPACK SOURCE

View file

@ -13,6 +13,6 @@ requests[socks]==2.18.4
# Additionnals requirements # Additionnals requirements
markupsafe>=0.23 markupsafe>=0.23
ndg-httpsclient>=0.4.2 ndg-httpsclient>=0.4.2
pyasn1>=0.1.9 pyasn1>=0.2.3
pyasn1-modules>=0.0.8 pyasn1-modules>=0.0.9
cffi>=1.6 cffi>=1.12.1