big update with pamac-daemon back

This commit is contained in:
guinux
2013-10-16 15:34:09 +02:00
parent 447f39e966
commit 715a0a6adf
61 changed files with 13750 additions and 11250 deletions

View File

@@ -24,10 +24,13 @@ def format_pkg_name(name):
name = name[0:index]
return name
from os.path import isfile
from os.path import isfile, join
from os import getpid, remove
from pamac import config
pid_file = '/tmp/pamac.pid'
lock_file = join(config.pacman_conf.options['DBPath'], 'db.lck')
def pid_file_exists():
return isfile(pid_file)
@@ -40,6 +43,10 @@ def rm_pid_file():
if isfile(pid_file):
remove(pid_file)
def rm_lock_file():
if isfile(lock_file):
remove(lock_file)
import time
def write_log_file(string):

File diff suppressed because it is too large Load Diff