From ac1f6b58977fc3981cbec495fe37307d6ca948b9 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 9 Oct 2017 09:09:05 +0200 Subject: only prepare if db is not locked --- systemd/pacman-offline-prepare.service | 1 + 1 file changed, 1 insertion(+) (limited to 'systemd/pacman-offline-prepare.service') diff --git a/systemd/pacman-offline-prepare.service b/systemd/pacman-offline-prepare.service index 59cc76f..b5f5ef1 100644 --- a/systemd/pacman-offline-prepare.service +++ b/systemd/pacman-offline-prepare.service @@ -1,5 +1,6 @@ [Unit] Description=Prepare pacman offline system-update +ConditionPathExists=!/var/lib/pacman/db.lck [Service] Type=oneshot -- cgit v1.2.3-70-g09d2