Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:GA
aaa_base
git-22-f5e90d70d119b6aa12d019947029f9337aec378d...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File git-22-f5e90d70d119b6aa12d019947029f9337aec378d.patch of Package aaa_base
From f5e90d70d119b6aa12d019947029f9337aec378d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=BCdiger=20Oertel?= <ro@suse.de> Date: Wed, 8 Jul 2020 11:57:32 +0200 Subject: [PATCH] check for Packages.db and use this instead of Packages if it exists since rpm has switched the database format diff --git a/files/usr/lib/base-scripts/backup-rpmdb b/files/usr/lib/base-scripts/backup-rpmdb index a0425c4..423b703 100755 --- a/files/usr/lib/base-scripts/backup-rpmdb +++ b/files/usr/lib/base-scripts/backup-rpmdb @@ -27,7 +27,9 @@ fi # # PACKAGEDBFILE=packages.rpm -if test -e ${RPMDB_PATH}/Packages ; then +if test -e ${RPMDB_PATH}/Packages.db ; then + PACKAGEDBFILE=Packages.db +elif test -e ${RPMDB_PATH}/Packages ; then PACKAGEDBFILE=Packages fi #
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor