]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- delete also tmp dir in database dir
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 22 Oct 2020 07:40:43 +0000 (09:40 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 22 Oct 2020 07:40:43 +0000 (09:40 +0200)
dbupgrade.sh

index 0011a7cbf32cb1a275a31a9c2e6b44fe4d0a2407..a000935734caf47e94854e4c763421b375aa9224 100755 (executable)
@@ -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 || :
 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
 
        if ! /usr/bin/rpmdb --rebuilddb ${ROOTDIR:+--root="$ROOTDIR"}; then
                echo
This page took 0.084881 seconds and 4 git commands to generate.