remove quote to allow break by package

This commit is contained in:
Luis Guzmán 2024-01-23 02:10:38 -06:00
parent cf9486720f
commit 45dfb122c3
2 changed files with 1 additions and 2 deletions

View File

@ -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}';

View File

@ -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=""
}