summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2006-01-26 22:16:57 +0000
committerAurelien Foret <aurelien@archlinux.org>2006-01-26 22:16:57 +0000
commit18986b1805feb805e3d4da1d94c98ec518836431 (patch)
tree1262024cc15f172042431fcd01e10b288074ebaf
parent6d436b960334306ef3aebedc158b9bb8f6b07945 (diff)
downloadpacman-18986b1805feb805e3d4da1d94c98ec518836431.tar.xz
reworked lock handling (patch from VMiklos <vmiklos@frugalware.fr>)
-rw-r--r--lib/libalpm/alpm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index c3255f66..fb764446 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -33,6 +33,8 @@ extern "C" {
#define PM_DBPATH "var/lib/pacman"
#define PM_CACHEDIR "var/cache/pacman/pkg"
+#define PM_LOCK "/tmp/pacman.lck"
+
#define PM_EXT_PKG ".pkg.tar.gz"
#define PM_EXT_DB ".db.tar.gz"