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

Another fixup

This commit is contained in:
Mateusz 2024-08-19 23:09:21 +02:00
parent fb729bedc0
commit 49335f5cdc

View file

@ -15,12 +15,12 @@ ynh_sync_admin_user_to_wekan() {
local tmp=$(mktemp -d) local tmp=$(mktemp -d)
ynh_setup_source --dest_dir="$tmp" --source_id="ldap" ynh_setup_source --dest_dir="$tmp" --source_id="ldap"
ynh_add_config --template="add_admin_user.py" --destination="$tmp/add_admin_user.py"
python3 -m venv $tmp python3 -m venv $tmp
source $tmp/bin/activate source $tmp/bin/activate
pip install pymongo ldap3 environs pip install pymongo ldap3 environs
ynh_add_config --template="add_admin_user.py" --destination="$tmp/add_admin_user.py"
source "$install_dir/.env" source "$install_dir/.env"
python3 $tmp/add_admin_user.py python3 $tmp/add_admin_user.py