mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
synced 2024-08-15 00:53:38 +00: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
|
interactive=true
|
||||||
|
|
||||||
if [ "$1" == "--no-interactive" ]; then
|
if [ "$1" = "--no-interactive" ]; then
|
||||||
interactive=false
|
interactive=false
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ sudo systemctl enable postgresql.service
|
||||||
# Create databse and user
|
# Create databse and user
|
||||||
#
|
#
|
||||||
|
|
||||||
if [ "$interactive" == "true" ]; then
|
if [ "$interactive" = "true" ]; then
|
||||||
sudo -u postgres -- createuser -P kemal
|
sudo -u postgres -- createuser -P kemal
|
||||||
sudo -u postgres -- createdb -O kemal invidious
|
sudo -u postgres -- createdb -O kemal invidious
|
||||||
else
|
else
|
||||||
|
|
|
@ -74,7 +74,7 @@ install_apt() {
|
||||||
sudo apt-get install --yes --no-install-recommends \
|
sudo apt-get install --yes --no-install-recommends \
|
||||||
libssl-dev libxml2-dev libyaml-dev libgmp-dev libevent-dev \
|
libssl-dev libxml2-dev libyaml-dev libgmp-dev libevent-dev \
|
||||||
libpcre3-dev libreadline-dev libsqlite3-dev zlib1g-dev \
|
libpcre3-dev libreadline-dev libsqlite3-dev zlib1g-dev \
|
||||||
crystal postgres git librsvg2-bin make
|
crystal postgresql-13 git librsvg2-bin make
|
||||||
}
|
}
|
||||||
|
|
||||||
install_yum() {
|
install_yum() {
|
||||||
|
|
Loading…
Reference in a new issue