mirror of
https://github.com/YunoHost-Apps/wekan_ynh.git
synced 2024-09-03 20:36:09 +02:00
This time?
This commit is contained in:
parent
49335f5cdc
commit
997c66fd05
1 changed files with 2 additions and 4 deletions
|
@ -18,14 +18,12 @@ ynh_sync_admin_user_to_wekan() {
|
|||
ynh_add_config --template="add_admin_user.py" --destination="$tmp/add_admin_user.py"
|
||||
|
||||
python3 -m venv $tmp
|
||||
source $tmp/bin/activate
|
||||
pip install pymongo ldap3 environs
|
||||
$tmp/bin/pip install pymongo ldap3 environs
|
||||
|
||||
source "$install_dir/.env"
|
||||
|
||||
python3 $tmp/add_admin_user.py
|
||||
$tmp/bin/python $tmp/add_admin_user.py
|
||||
|
||||
deactivate
|
||||
ynh_secure_remove --file="$tmp"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue