From: Marcin Krol Date: Sun, 17 Jan 2021 14:35:34 +0000 (+0100) Subject: - PLD merge X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=a4316b5afc30b9f3e8e667bcd44e4feccd020080;p=packages%2Frpm.git - PLD merge --- 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!"