From a4316b5afc30b9f3e8e667bcd44e4feccd020080 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Sun, 17 Jan 2021 15:35:34 +0100 Subject: [PATCH] - PLD merge --- rpm.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpm.spec b/rpm.spec index 18c81df..659979f 100644 --- a/rpm.spec +++ b/rpm.spec @@ -763,7 +763,7 @@ if [ -e /var/lib/rpm/Packages ]; then %{__rm} -rf /var/lib/rpm/log >/dev/null 2>/dev/null || : %{__rm} -rf /var/lib/rpm/tmp >/dev/null 2>/dev/null || : # Unlock database for rebuild, safe since this is posttrans - %{__rm} -rf /var/lib/rpm/.rpm.lock >/dev/null 2>/dev/null || : + %{__rm} -f /var/lib/rpm/.rpm.lock >/dev/null 2>/dev/null || : if ! /usr/bin/rpmdb --rebuilddb; then echo echo "rpm database conversion failed!" -- 2.46.0