def run(self, callback, errback):
		# At the end a plugin has to call one of the functions: callback or errback
		# Callback should return with at least one of the parameter: Header, Body, Attachment
		# If empty or none is returned, nothing will be sent
		if iSoftwareTools.lastDownloadDate is not None and iSoftwareTools.lastDownloadDate > ( time() - (24*60*60) ):
			# Last refresh was within one day
			return self.buildList(callback, errback)
		else:
			print("OPKGUpdateNotification run else")
			if self.getValue('selfcheck'):
				# Refresh package list
				iSoftwareTools.startSoftwareTools( boundFunction(self.getUpdateInfosCB, callback, errback) )
				return
		callback()
	def run(self, callback, errback):
		# At the end a plugin has to call one of the functions: callback or errback
		# Callback should return with at least one of the parameter: Header, Body, Attachment
		# If empty or none is returned, nothing will be sent
		if iSoftwareTools.lastDownloadDate is not None and iSoftwareTools.lastDownloadDate > ( time() - (24*60*60) ):
			# Last refresh was within one day
			return self.buildList(callback, errback)
		else:
			log.debug( "IPKGUpdateNotification run else" )
			if self.getValue('selfcheck'):
				# Refresh package list
				iSoftwareTools.startSoftwareTools( boundFunction(self.getUpdateInfosCB, callback, errback) )
				return
		callback()