[packages/rpm/rpm.org] - delete also tmp dir in database dir
baggins
baggins at pld-linux.org
Thu Oct 22 09:41:18 CEST 2020
commit 56b257d37fdc0fc47edc11d3db8abd38239a0cef
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu Oct 22 09:40:43 2020 +0200
- delete also tmp dir in database dir
dbupgrade.sh | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/dbupgrade.sh b/dbupgrade.sh
index 0011a7c..a000935 100755
--- a/dbupgrade.sh
+++ b/dbupgrade.sh
@@ -26,6 +26,7 @@ if ! /usr/lib/rpm/rpmdb_reset -r lsn "$ROOTDIR"/var/lib/rpm/Packages ; then
else
/bin/rm --interactive=never -f "$ROOTDIR"/var/lib/rpm/__db.00* >/dev/null 2>/dev/null || :
/bin/rm --interactive=never -rf "$ROOTDIR"/var/lib/rpm/log >/dev/null 2>/dev/null || :
+ /bin/rm --interactive=never -rf "$ROOTDIR"/var/lib/rpm/tmp >/dev/null 2>/dev/null || :
if ! /usr/bin/rpmdb --rebuilddb ${ROOTDIR:+--root="$ROOTDIR"}; then
echo
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/56b257d37fdc0fc47edc11d3db8abd38239a0cef
More information about the pld-cvs-commit
mailing list