summaryrefslogtreecommitdiffstats
path: root/mdkonline.pm
diff options
context:
space:
mode:
Diffstat (limited to 'mdkonline.pm')
-rw-r--r--mdkonline.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/mdkonline.pm b/mdkonline.pm
index 7ade89e9..6378ccca 100644
--- a/mdkonline.pm
+++ b/mdkonline.pm
@@ -41,6 +41,7 @@ our @EXPORT = qw(find_current_distro
get_urpmi_options
is_it_2008_0
is_enterprise_media_supported
+ is_extmaint_supported
is_restricted_media_supported
translate_product
xml2perl
@@ -73,6 +74,10 @@ sub is_it_2008_0() {
$product_id->{version} eq '2008.0';
}
+sub is_extmaint_supported() {
+ $product_id->{support} eq 'extended'
+}
+
sub is_enterprise_media_supported() {
return if is_it_2008_0();
to_bool($product_id->{type} eq 'Enterprise' && $product_id->{product} eq 'Server');