Compare commits

...

1 Commits

Author SHA1 Message Date
Maniack Crudelis be5dc7943b Minor fixes 2018-05-28 00:30:42 +02:00
4 changed files with 22 additions and 16 deletions

View File

@ -9,7 +9,7 @@
},
"version": "0.14.0~ynh1",
"url": "https://asciimoo.github.io/searx/",
"license": "AGPLv3",
"license": "AGPL-3.0-or-later",
"maintainer": {
"name": "opi",
"email": "opi@zeropi.net"

View File

@ -2,13 +2,6 @@
#=================================================
# GENERIC STARTING
#=================================================
# MANAGE FAILURE OF THE SCRIPT
#=================================================
# Exit on command errors and treat unset variables as an error
set -eu
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
@ -21,6 +14,13 @@ set -eu
# source _common.sh
source /usr/share/yunohost/helpers
#=================================================
# MANAGE SCRIPT FAILURE
#=================================================
# Exit if an error occurs during the execution of the script
ynh_abort_if_errors
#=================================================
# LOAD SETTINGS
#=================================================

View File

@ -2,13 +2,6 @@
#=================================================
# GENERIC STARTING
#=================================================
# MANAGE FAILURE OF THE SCRIPT
#=================================================
# Exit on command errors and treat unset variables as an error
set -eu
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
@ -21,6 +14,13 @@ set -eu
# source _common.sh
source /usr/share/yunohost/helpers
#=================================================
# MANAGE SCRIPT FAILURE
#=================================================
# Exit if an error occurs during the execution of the script
ynh_abort_if_errors
#=================================================
# LOAD SETTINGS
#=================================================
@ -59,7 +59,7 @@ ynh_restore_file "$final_path"
# INSTALL DEPENDENCIES
#=================================================
ynh_install_app_dependencies libxslt-dev virtualenv python-babel zlib1g-dev libffi-dev libssl-dev python-lxml uwsgi uwsgi-plugin-python
ynh_install_app_dependencies git build-essential libxslt-dev python-dev python-virtualenv virtualenv python-pybabel zlib1g-dev libffi-dev libssl-dev python-lxml uwsgi uwsgi-plugin-python
#=================================================
# RECREATE OF THE DEDICATED USER

View File

@ -58,6 +58,12 @@ path_url=$(ynh_normalize_url_path $path_url)
#=================================================
# STANDARD UPGRADE STEPS
#=================================================
# UPGRADE DEPENDENCIES
#=================================================
ynh_install_app_dependencies git build-essential libxslt-dev python-dev python-virtualenv virtualenv python-pybabel zlib1g-dev libffi-dev libssl-dev python-lxml uwsgi uwsgi-plugin-python
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================