mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-02 20:05:37 -04:00
[partitions] Adapt to KPMcore 4.2 changes
This commit is contained in:
parent
36396d0cfd
commit
3313a5341d
1 changed files with 4 additions and 1 deletions
|
@ -71,9 +71,12 @@ InternalManager::InternalManager()
|
|||
|
||||
InternalManager::~InternalManager()
|
||||
{
|
||||
#if defined( WITH_KPMCORE4API ) && !defined( WITH_KPMCORE42API )
|
||||
cDebug() << "Cleaning up KPMCore backend ..";
|
||||
|
||||
#if defined( WITH_KPMCORE4API )
|
||||
// From KPMcore 4.0 until KPMcore 4.2 we needed to stop
|
||||
// the helper by hand. KPMcore 4.2 ported to polkit directly,
|
||||
// which doesn't need a helper.
|
||||
auto backend_p = CoreBackendManager::self()->backend();
|
||||
if ( backend_p )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue