diff options
| author | Samantaz Fox <coding@samantaz.fr> | 2022-06-20 23:19:05 +0200 |
|---|---|---|
| committer | Samantaz Fox <coding@samantaz.fr> | 2022-07-04 22:24:17 +0200 |
| commit | 8332ad0f1684cd5af68daeb4f7bc5cb04ff03669 (patch) | |
| tree | 5f337150f0d224ad66bfa48882ba1913582dd13f /scripts/deploy-database.sh | |
| parent | 06af5a004e4c6cda28e5a4cc13ee47ed3cf9c155 (diff) | |
| download | invidious-8332ad0f1684cd5af68daeb4f7bc5cb04ff03669.tar.gz invidious-8332ad0f1684cd5af68daeb4f7bc5cb04ff03669.tar.bz2 invidious-8332ad0f1684cd5af68daeb4f7bc5cb04ff03669.zip | |
Fix syntax errors in shell scripts
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 |
