mirror of
https://github.com/YunoHost-Apps/pgadmin_ynh.git
synced 2024-09-03 19:56:38 +02:00
setup.py changed
This commit is contained in:
parent
b5b880e467
commit
a169185d9d
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ chmod +x "$install_dir/setup.exp"
|
||||||
ynh_exec_as "$app" "$install_dir/setup.exp" "$install_dir/venv/bin/python3" "$install_dir/venv/lib/python$python_version/site-packages/pgadmin4/setup.py" setup-db
|
ynh_exec_as "$app" "$install_dir/setup.exp" "$install_dir/venv/bin/python3" "$install_dir/venv/lib/python$python_version/site-packages/pgadmin4/setup.py" setup-db
|
||||||
|
|
||||||
ynh_add_config --template="server.json" --destination="$install_dir/server.json"
|
ynh_add_config --template="server.json" --destination="$install_dir/server.json"
|
||||||
ynh_exec_as "$app" "$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"
|
ynh_exec_as "$app" "$install_dir/venv/bin/python3" "$install_dir/venv/lib/python$python_version/site-packages/pgadmin4/setup.py" load-servers --user "$email" "$install_dir/server.json"
|
||||||
|
|
||||||
# looks like we need to run one command as pgadmin to get access to the dbs ?
|
# looks like we need to run one command as pgadmin to get access to the dbs ?
|
||||||
ynh_psql_connect_as --user="$db_user" --password="$db_pwd" <<< '\list' >/dev/null
|
ynh_psql_connect_as --user="$db_user" --password="$db_pwd" <<< '\list' >/dev/null
|
||||||
|
|
Loading…
Reference in a new issue