Fix syntax errors in shell scripts

This commit is contained in:
Samantaz Fox committed 2022-07-04 22:24:17 +02:00
1 parent 06af5a004e
commit 8332ad0f16
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -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