summaryrefslogtreecommitdiffstats
path: root/systemd/pacman-offline-prepare.timer
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2017-10-09 09:09:05 +0200
committerGravatar Christian Hesse <mail@eworm.de>2017-10-09 09:09:05 +0200
commitac1f6b58977fc3981cbec495fe37307d6ca948b9 (patch)
treece3799eb6fe3efd594638e65023f63b8da5ed588 /systemd/pacman-offline-prepare.timer
parent87ddf0bdac21219d3cc169ba941a7a15d44b94c8 (diff)
downloadpacman-offline-ac1f6b58977fc3981cbec495fe37307d6ca948b9.tar.gz
pacman-offline-ac1f6b58977fc3981cbec495fe37307d6ca948b9.tar.zst
only prepare if db is not locked
Diffstat (limited to 'systemd/pacman-offline-prepare.timer')
-rw-r--r--systemd/pacman-offline-prepare.timer1
1 files changed, 1 insertions, 0 deletions
diff --git a/systemd/pacman-offline-prepare.timer b/systemd/pacman-offline-prepare.timer
index 75ce355..313b8cc 100644
--- a/systemd/pacman-offline-prepare.timer
+++ b/systemd/pacman-offline-prepare.timer
@@ -1,5 +1,6 @@
[Unit]
Description=Prepare pacman offline system-update
+ConditionPathExists=!/var/lib/pacman/db.lck
[Timer]
OnBootSec=5min