YaST2 Developers Documentation: yast2

yast2

modules/PackageKit.ycp
PackageKit access functions
  • Ladislav Slezak

This module has an unstable interface.

This is a wrrapper around PackageKit DBus interface.

Global Functions

global IsRunning () -> boolean

Check whether PackageKit daemon is running

Return value:
return true if PackageKit is currently running
global SuggestQuit () -> void

Ask the PackageKit daemon to quit If a transaction is in progress the daemon will not quit, you have to check the current status using isRunning() function.