commit e61dd7086ea88097c36143c4ee37e37ffb83ede0
parent 590e458822ade96226382d34bea568d1d0c7d5ad
Author: parazyd <parazyd@dyne.org>
Date: Sat, 16 Dec 2017 22:40:53 +0100
Move lockpath to config instead of lock.py
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/config.def.py b/lib/config.def.py
@@ -15,6 +15,7 @@ signingkey = 'CA608125'
signrelease = True
mergedir = './merged-volatile'
mergesubdir = 'dists'
+lockpath = '/run/lock/amprolla.lock'
banpkgs = {'systemd', 'systemd-sysv'}
checksums = [
# {'name': 'MD5Sum', 'f': md5},
diff --git a/lib/lock.py b/lib/lock.py
@@ -9,9 +9,9 @@ from os import remove
from os.path import isfile
import sys
+from lib.config import lockpath
from lib.log import info
-lockpath = '/run/lock/amprolla.lock'
def check_lock():
"""