syntax change

This commit is contained in:
buanet
2023-04-16 22:14:03 +02:00
parent acad72922e
commit 065d0cb4df

View File

@@ -39,7 +39,7 @@ if [[ "$1" == "-install" ]]; then
echo ' '
apt-get -q update >> /opt/scripts/setup_packages.log 2>&1
check_package_validity
for i in "$packages"; do
for i in $packages; do
if ! dpkg -s "$i" >/dev/null 2>&1; then
echo -n "$i is not installed. Installing... "
check_package_preq >> /opt/scripts/setup_packages.log 2>&1