From 71c1ea21dddcf36181e8e653cb194e4608bccf91 Mon Sep 17 00:00:00 2001 From: Floris Bos Date: Mon, 22 Nov 2021 13:23:39 +0100 Subject: [PATCH] Customization: also apply changes if there is only firstrun and no cmdline/config changes --- downloadthread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/downloadthread.cpp b/downloadthread.cpp index 0685ff5..4917677 100644 --- a/downloadthread.cpp +++ b/downloadthread.cpp @@ -724,10 +724,10 @@ void DownloadThread::_writeComplete() _filename.replace("/dev/rdisk", "/dev/disk"); #endif - if (_ejectEnabled && _config.isEmpty() && _cmdline.isEmpty()) + if (_ejectEnabled && _config.isEmpty() && _cmdline.isEmpty() && _firstrun.isEmpty()) eject_disk(_filename.constData()); - if (!_config.isEmpty() || !_cmdline.isEmpty()) + if (!_config.isEmpty() || !_cmdline.isEmpty() || !_firstrun.isEmpty()) { if (!_customizeImage()) return;