mirror of
https://github.com/iv-org/invidious.git
synced 2025-05-04 15:35:17 -04:00
Fix syntax errors in shell scripts
This commit is contained in:
parent
06af5a004e
commit
8332ad0f16
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue