1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pgadmin_ynh.git synced 2024-09-03 19:56:38 +02:00

fix install

This commit is contained in:
Félix Piédallu 2024-01-31 14:06:03 +01:00
parent b74f74013a
commit a79663c1ca

View file

@ -54,7 +54,7 @@ ynh_psql_execute_as_root --sql "ALTER USER $app WITH SUPERUSER CREATEDB CREATERO
# "$install_dir/venv/bin/python3" "$install_dir/setup_database.py" "$db_user" "$db_pwd"
ynh_add_config --template="server.json" --destination="$install_dir/server.json"
"$install_dir/venv/bin/python3" "$install_dir/venv/lib/python$python_version/site-packages/pgadmin4/setup.py" --load-servers "$install_dir/server.json"
"$install_dir/venv/bin/python3" "$install_dir/venv/lib/python$python_version/site-packages/pgadmin4/setup.py" --user "$email" --load-servers "$install_dir/server.json"
# Set permission after initialisation
ynh_script_progression --message="Protecting directory"