diff --git a/.build/images/dietpi-installer b/.build/images/dietpi-installer index 54731b52ad..08fd593f6a 100755 --- a/.build/images/dietpi-installer +++ b/.build/images/dietpi-installer @@ -803,7 +803,7 @@ _EOF_ 'isc-dhcp-client' ) apackages_string="${apackages[*]}" - for pkg in "${apackages[@]}" + for pkg in "${rpackages[@]}" do apackages_string=$(echo "$apackages_string" | sed "s/\b$pkg\b//g" | tr -s ' ') done