1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/weblate_ynh.git synced 2024-10-01 13:35:04 +02:00

add set +eu in subshell

This commit is contained in:
Jean-Baptiste Holcroft 2017-09-14 17:45:02 +02:00
parent 5d2d50aa78
commit 49bfb081a6

View file

@ -158,6 +158,7 @@ ynh_replace_string "__KEY__" "$key" $final_path/weblate/settings.py
virtualenv ${final_path}/venv
#run source in a 'sub shell'
(
set +eu
source ${final_path}/venv/bin/activate
${final_path}/venv/bin/pip install Weblate==2.16
${final_path}/venv/bin/pip install pytz python-bidi PyYaML Babel pyuca pylibravatar pydns
@ -170,6 +171,7 @@ virtualenv ${final_path}/venv
echo "SPECIFIC SETUP Filling up the database"
# set up database
(
set +eu
source ${final_path}/venv/bin/activate
weblate migrate --noinput --settings weblate.settings
# generate static files