prepare_php.sh: add missing install_ifnot function #106

Merged
Ark74 merged 13 commits from Ark74/quick-jibri-installer:split_php_prepare into master 2024-03-21 19:07:16 +00:00
2 changed files with 1 additions and 2 deletions
Showing only changes of commit 45dfb122c3 - Show all commits

View File

@ -187,7 +187,6 @@ bash tools/prepare_php.sh "$MIN_PHP"
#-------------------------------------------------- #--------------------------------------------------
echo -e "\n---- Creating the PgSQL DB & User ----" echo -e "\n---- Creating the PgSQL DB & User ----"
#cd /tmp || return
sudo -u postgres psql <<DB sudo -u postgres psql <<DB
CREATE DATABASE nextcloud_db; CREATE DATABASE nextcloud_db;
CREATE USER ${NC_DB_USER} WITH ENCRYPTED PASSWORD '${NC_DB_PASSWD}'; CREATE USER ${NC_DB_USER} WITH ENCRYPTED PASSWORD '${NC_DB_PASSWD}';

View File

@ -29,7 +29,7 @@ for i in $1
fi fi
done done
echo "$packages" echo "$packages"
apt-get -y install "$packages" apt-get -y install $packages #< don't quote.
packages="" packages=""
} }