]> TLD Linux GIT Repositories - packages/rpm.git/commitdiff
- PLD merge
authorMarcin Krol <hawk@tld-linux.org>
Sun, 17 Jan 2021 14:35:34 +0000 (15:35 +0100)
committerMarcin Krol <hawk@tld-linux.org>
Sun, 17 Jan 2021 14:35:34 +0000 (15:35 +0100)
rpm.spec

index 18c81df3e0088d31ed9175a07524c8cc1b615af8..659979f9b4739ab2652166607566278ee9ad8014 100644 (file)
--- 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!"