diff options
author | Karaoke Mugen CD | 2024-05-05 17:19:50 +0000 |
---|---|---|
committer | Karaoke Mugen CD | 2024-05-05 17:19:50 +0000 |
commit | 86b1dd6ce46eb84c063dc7be7227f47e8e727237 (patch) | |
tree | 55783cd199e868e690c9a1e9fde050d3cf5854e2 /install.sh | |
parent | bf429dff52b8a2262db2b4934710be4de775d06f (diff) | |
download | aur-karaokemugen-git.tar.gz |
:hammer: update install script to match docs
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/install.sh b/install.sh index 369425821232..25a354b182c5 100755 --- a/install.sh +++ b/install.sh @@ -42,8 +42,10 @@ setup_postgres() { fi # Creating the database sudo -u postgres -g postgres -H -- psql -c "CREATE DATABASE karaokemugen_app ENCODING 'UTF8';" - sudo -u postgres -g postgres -H -- psql -c "CREATE USER karaokemugen_app WITH ENCRYPTED PASSWORD 'musubi'; GRANT ALL PRIVILEGES ON DATABASE karaokemugen_app TO karaokemugen_app;" + sudo -u postgres -g postgres -H -- psql -c "CREATE USER karaokemugen_app WITH ENCRYPTED PASSWORD 'musubi';" + sudo -u postgres -g postgres -H -- psql -c "GRANT ALL PRIVILEGES ON DATABASE karaokemugen_app TO karaokemugen_app;" sudo -u postgres -g postgres -H -- psql -d karaokemugen_app -c "CREATE EXTENSION unaccent;" + sudo -u postgres -g postgres -H -- psql -d karaokemugen_app -c "GRANT CREATE ON SCHEMA public TO public;" echo -e "${_COL_GREEN_}karaokemugen_app database created!" } |