[packages/rpm/rpm.org] - unlock rpmdb in case we're rebuilding db from rpm.org to rpm.org, post transaction scriptlet sho
Elan Ruusamäe
glen at pld-linux.org
Mon Jan 11 16:10:18 CET 2021
On 09.01.2021 11:51, baggins wrote:
> + # Unlock database for rebuild, safe since this is posttrans
> + %{__rm} -rf/var/lib/rpm/.rpm.lock >/dev/null 2>/dev/null || :
it's likely a file, so -r is superfluous
and why hide unlink errors? I prefer to see "permission denied" or
similar errors if rm failed. easier to diagnose issues.
More information about the pld-devel-en
mailing list