From d74438ee6fae0b2c1456884f445cdd587e8c6de9 Mon Sep 17 00:00:00 2001 From: TNE Date: Mon, 20 Sep 2021 02:16:19 +0200 Subject: [PATCH] Don't error if there is no pacman lock to delete --- PKGBUILD | 2 +- usr/lib/systemd/system/garuda-pacman-lock.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 07080a0..4b20ae5 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ # Maintainer: Librewish pkgname=garuda-common-settings -pkgver=2.1.0 +pkgver=2.1.1 pkgrel=1 arch=('any') url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname" diff --git a/usr/lib/systemd/system/garuda-pacman-lock.service b/usr/lib/systemd/system/garuda-pacman-lock.service index bcfce92..70b63eb 100644 --- a/usr/lib/systemd/system/garuda-pacman-lock.service +++ b/usr/lib/systemd/system/garuda-pacman-lock.service @@ -3,7 +3,7 @@ Description=Pacman lock cleaner [Service] Type=oneshot -ExecStart=rm /var/lib/pacman/db.lck +ExecStart=rm -f /var/lib/pacman/db.lck [Install] WantedBy=multi-user.target