prepare_php.sh: add missing install_ifnot function #106
|
@ -187,7 +187,6 @@ bash tools/prepare_php.sh "$MIN_PHP"
|
|||
#--------------------------------------------------
|
||||
|
||||
echo -e "\n---- Creating the PgSQL DB & User ----"
|
||||
#cd /tmp || return
|
||||
sudo -u postgres psql <<DB
|
||||
CREATE DATABASE nextcloud_db;
|
||||
CREATE USER ${NC_DB_USER} WITH ENCRYPTED PASSWORD '${NC_DB_PASSWD}';
|
||||
|
|
|
@ -29,7 +29,7 @@ for i in $1
|
|||
fi
|
||||
done
|
||||
echo "$packages"
|
||||
apt-get -y install "$packages"
|
||||
apt-get -y install $packages #< don't quote.
|
||||
packages=""
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue