Customization: also apply changes if there is only firstrun and no cmdline/config changes

This commit is contained in:
Floris Bos 2021-11-22 13:23:39 +01:00
parent fe2c1c55bd
commit 71c1ea21dd

View file

@ -724,10 +724,10 @@ void DownloadThread::_writeComplete()
_filename.replace("/dev/rdisk", "/dev/disk"); _filename.replace("/dev/rdisk", "/dev/disk");
#endif #endif
if (_ejectEnabled && _config.isEmpty() && _cmdline.isEmpty()) if (_ejectEnabled && _config.isEmpty() && _cmdline.isEmpty() && _firstrun.isEmpty())
eject_disk(_filename.constData()); eject_disk(_filename.constData());
if (!_config.isEmpty() || !_cmdline.isEmpty()) if (!_config.isEmpty() || !_cmdline.isEmpty() || !_firstrun.isEmpty())
{ {
if (!_customizeImage()) if (!_customizeImage())
return; return;