initial commit of file from CVS for smeserver-yum on Thu 26 Oct 11:26:23 BST 2023
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
@@ -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") );
|
||||
}
|
Reference in New Issue
Block a user