fix packages check

This commit is contained in:
buanet
2022-11-09 17:28:14 +01:00
parent 6fc6b71ac6
commit d164d9f497

View File

@@ -118,7 +118,7 @@ if [[ -f /opt/.firstrun ]]; then
if [[ "$packages" != "" && "$offlinemode" = "true" ]]; then if [[ "$packages" != "" && "$offlinemode" = "true" ]]; then
echo 'PACKAGES is set, but OFFLINE_MODE is \"true\". Skipping Linux package installation.' echo 'PACKAGES is set, but OFFLINE_MODE is \"true\". Skipping Linux package installation.'
echo ' ' echo ' '
else elif [[ "$packages" != "" ]]; then
echo 'PACKAGES is set. Installing additional Linux packages.' echo 'PACKAGES is set. Installing additional Linux packages.'
echo "Checking the following packages:" $packages"..." echo "Checking the following packages:" $packages"..."
echo $packages > /opt/scripts/.docker_config/.packages echo $packages > /opt/scripts/.docker_config/.packages