pamac-tray refreshes its status if pacman was run and fixes

This commit is contained in:
guinux
2013-12-18 19:10:50 +01:00
parent ead2927d37
commit eb5d87a500
7 changed files with 71 additions and 5 deletions

View File

@@ -49,6 +49,9 @@ from pamac import config
pid_file = '/tmp/pamac.pid'
lock_file = join(config.pacman_conf.options['DBPath'], 'db.lck')
def lock_file_exists():
return isfile(lock_file)
def pid_file_exists():
return isfile(pid_file)