diff options
| author | Samantaz Fox <coding@samantaz.fr> | 2022-07-11 17:41:58 +0200 |
|---|---|---|
| committer | Samantaz Fox <coding@samantaz.fr> | 2022-07-11 17:41:58 +0200 |
| commit | abc81ebd08438555bc14d02e48aeeb173c1c2e53 (patch) | |
| tree | 7812f2160a6915659d70f6ea9eb928f58dd7766d /scripts/deploy-database.sh | |
| parent | cd6c73e4871f2a7aa7159dd554cb8b95c6ea3458 (diff) | |
| parent | f7b1dcc271bb14bf8962c9375c413c0cf01d880b (diff) | |
| download | invidious-abc81ebd08438555bc14d02e48aeeb173c1c2e53.tar.gz invidious-abc81ebd08438555bc14d02e48aeeb173c1c2e53.tar.bz2 invidious-abc81ebd08438555bc14d02e48aeeb173c1c2e53.zip | |
Merge pull request #3165 from SamantazFox/small-fixes-06-2022
Diffstat (limited to 'scripts/deploy-database.sh')
| -rw-r--r-- | scripts/deploy-database.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/deploy-database.sh b/scripts/deploy-database.sh index ed9464e6..fa24b8f0 100644 --- a/scripts/deploy-database.sh +++ b/scripts/deploy-database.sh @@ -6,7 +6,7 @@ interactive=true -if [ "$1" == "--no-interactive" ]; then +if [ "$1" = "--no-interactive" ]; then interactive=false fi @@ -21,7 +21,7 @@ sudo systemctl enable postgresql.service # Create databse and user # -if [ "$interactive" == "true" ]; then +if [ "$interactive" = "true" ]; then sudo -u postgres -- createuser -P kemal sudo -u postgres -- createdb -O kemal invidious else |
