fixed syntax in depsinstall

This commit is contained in:
alanw 2023-05-11 16:27:40 -07:00
parent 146bd34d69
commit cc1d1ccf9e

View file

@ -281,7 +281,7 @@ install-deps(){
boxborder "Installing packages $packages" boxborder "Installing packages $packages"
if [[ dry_run != true ]] ; then if [[ dry_run != true ]] ; then
# using a spinner function block to track installation progress # using a spinner function block to track installation progress
for $_package in $packages ; do for _package in $packages ; do
sudo apt-get install -y $_package sudo apt-get install -y $_package
done done
else else
@ -405,7 +405,7 @@ userinstall(){
globalinstall(){ globalinstall(){
# Create global install directory # Create global install directory
run mkdir -p ${globalinstalldir} run mkdir -p ${installdir}
install-functions install-functions
export prbl_functions="${globalinstalldir}/functions" export prbl_functions="${globalinstalldir}/functions"