mirror of
https://github.com/YunoHost-Apps/libreerp_ynh.git
synced 2024-09-03 19:36:13 +02:00
[fix] Role already exists
This commit is contained in:
parent
d27dc888f2
commit
4c48a7798c
1 changed files with 1 additions and 1 deletions
|
@ -75,8 +75,8 @@ else
|
||||||
sudo cp -R "$DESTDIR." /usr/
|
sudo cp -R "$DESTDIR." /usr/
|
||||||
sudo rm -Rf $DESTDIR
|
sudo rm -Rf $DESTDIR
|
||||||
|
|
||||||
ynh_psql_create_db $APPNAME $APPNAME "$dbpass"
|
|
||||||
ynh_psql_execute_as_root "ALTER USER $APPNAME WITH CREATEDB;"
|
ynh_psql_execute_as_root "ALTER USER $APPNAME WITH CREATEDB;"
|
||||||
|
sudo su -c "createdb -O $APPNAME $APPNAME" - postgres
|
||||||
|
|
||||||
# Set admin password
|
# Set admin password
|
||||||
# TODO Support @ in password
|
# TODO Support @ in password
|
||||||
|
|
Loading…
Reference in a new issue