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:
parent
5d2d50aa78
commit
49bfb081a6
1 changed files with 2 additions and 0 deletions
|
@ -158,6 +158,7 @@ ynh_replace_string "__KEY__" "$key" $final_path/weblate/settings.py
|
||||||
virtualenv ${final_path}/venv
|
virtualenv ${final_path}/venv
|
||||||
#run source in a 'sub shell'
|
#run source in a 'sub shell'
|
||||||
(
|
(
|
||||||
|
set +eu
|
||||||
source ${final_path}/venv/bin/activate
|
source ${final_path}/venv/bin/activate
|
||||||
${final_path}/venv/bin/pip install Weblate==2.16
|
${final_path}/venv/bin/pip install Weblate==2.16
|
||||||
${final_path}/venv/bin/pip install pytz python-bidi PyYaML Babel pyuca pylibravatar pydns
|
${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"
|
echo "SPECIFIC SETUP Filling up the database"
|
||||||
# set up database
|
# set up database
|
||||||
(
|
(
|
||||||
|
set +eu
|
||||||
source ${final_path}/venv/bin/activate
|
source ${final_path}/venv/bin/activate
|
||||||
weblate migrate --noinput --settings weblate.settings
|
weblate migrate --noinput --settings weblate.settings
|
||||||
# generate static files
|
# generate static files
|
||||||
|
|
Loading…
Reference in a new issue