7f9ecfac81
Issue: wget/curl was creating empty files (0 bytes) when downloads failed due to network/firewall issues. Installer treated these as valid archives. Root cause: wget/curl create output file even when download fails, leaving empty/partial files that later attempts mistook for valid archives. Solution: - Clean up empty files before each download attempt - After download, verify file is not empty ([ -s ]) - Show file size on successful download - Explicitly delete failed/empty files - Differentiate between download command failure vs empty result - Clear error messages: 'empty file (network/firewall issue)' vs 'failed' Now handles the network/firewall interception scenario properly.