[calamares] Test-loader tries loading from install-dir, too
This commit is contained in:
parent
058e6cbcda
commit
7cda1d2edd
@ -298,7 +298,7 @@ load_module( const ModuleConfig& moduleConfig )
|
|||||||
bool ok = false;
|
bool ok = false;
|
||||||
QVariantMap descriptor;
|
QVariantMap descriptor;
|
||||||
|
|
||||||
QStringList moduleDirectories { "./", "src/modules/", "modules/" };
|
QStringList moduleDirectories { "./", "src/modules/", "modules/", CMAKE_INSTALL_FULL_LIBDIR "/calamares/modules/" };
|
||||||
for ( const QString& prefix : qAsConst( moduleDirectories ) )
|
for ( const QString& prefix : qAsConst( moduleDirectories ) )
|
||||||
{
|
{
|
||||||
// Could be a complete path, eg. src/modules/dummycpp/module.desc
|
// Could be a complete path, eg. src/modules/dummycpp/module.desc
|
||||||
|
Loading…
Reference in New Issue
Block a user