initial commit of file from CVS for smeserver-yum on Thu 26 Oct 11:26:23 BST 2023

This commit is contained in:
2023-10-26 11:26:23 +01:00
parent b6e325dc61
commit 2302f71017
189 changed files with 4126 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
{
#Added for bug 8855 and bug 8858
#we want to remove the property check4contribsupdates
my $check4contribsupdates = $DB->get_prop('yum','check4contribsupdates');
if ($check4contribsupdates) {
$DB->get('yum')->delete_prop('check4contribsupdates');
}
}

View File

@@ -0,0 +1,9 @@
{
use POSIX qw(strftime);
my $curdate = strftime '%Y%m%d', localtime;
my $curVers = 7;
my $curVersEOL = 20240630;
# we remove the forced value if for a previous release;
# also if not after the eol date
my $dropit = $DB->get_prop_and_delete('yum','eolversion') if ( (substr($yum{eolversion},0,1)<$curVers) || ( "$curdate" < "$curVersEOL") );
}