mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 00:48:22 -04:00
[shellprocess] Warn when there's no script
This commit is contained in:
parent
fdb3fc1ef8
commit
8bd40fdcd5
1 changed files with 3 additions and 1 deletions
|
@ -118,8 +118,10 @@ ShellProcessJob::setConfigurationMap( const QVariantMap& configurationMap )
|
|||
{
|
||||
m_commands = new CommandList( configurationMap.value( "script" ) );
|
||||
if ( m_commands->isEmpty() )
|
||||
cDebug() << "ShellProcessJob: \"script\" contains no commands.";
|
||||
cDebug() << "ShellProcessJob: \"script\" contains no commands for" << moduleInstanceKey();
|
||||
}
|
||||
else
|
||||
cDebug() << "WARNING: No script given for ShellProcessJob" << moduleInstanceKey();
|
||||
}
|
||||
|
||||
CALAMARES_PLUGIN_FACTORY_DEFINITION( ShellProcessJobFactory, registerPlugin<ShellProcessJob>(); )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue