mirror of
https://github.com/outbackdingo/sysadm.git
synced 2026-01-27 02:20:17 +00:00
Add "pkg update" to the regular system health check. This should ensure that the pkg databases are *always* up to date without any user interaction.
This commit is contained in:
@@ -403,6 +403,9 @@ void EventWatcher::CheckSystemState(){
|
||||
}
|
||||
obj.insert("updates",updates);
|
||||
}
|
||||
//Also start a pkg DB update here - need to make sure this is done regularly in the background rather than make the user wait to use the AppCafe
|
||||
QProcess::startDetached("pkg update"); //normal DB update check - no need to force rebuild it
|
||||
|
||||
// Priority 0-10
|
||||
obj.insert("priority", DisplayPriority(priority) );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user