This commit is contained in:
2024-03-25 17:44:36 -04:00
parent 91b6e8e13f
commit fc884e4629
187 changed files with 5039 additions and 130 deletions

View File

@@ -0,0 +1,28 @@
{
# migrate from yum to dnf key
my $yum = $DB->get("yum");
if ($yum){
my $dnf = $DB->get("dnf") ||
$DB->new_record("dnf", { type => "service" });
$dnf->merge_props($yum->props);
$yum->delete;
}
# tidy EOL tag
use POSIX qw(strftime);
my $curdate = strftime '%Y%m%d', localtime;
my $curVers = 8;
my $curVersEOL = 20290531;
# we remove the forced value if for a previous release;
# also if not after the eol date
my $dropit = $DB->get_prop_and_delete('dnf','eolversion') if ( (substr($dnf{eolversion},0,1)<$curVers) || ( "$curdate" < "$curVersEOL") );
# Added for bug 8855 and bug 8858
# we want to remove the property check4contribsupdates
my $check4contribsupdates = $DB->get_prop('dnf','check4contribsupdates');
if ($check4contribsupdates) {
$DB->get('dnf')->delete_prop('check4contribsupdates');
}
}