diff options
Diffstat (limited to 'mdkonline.pm')
-rw-r--r-- | mdkonline.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mdkonline.pm b/mdkonline.pm index c9667554..564a4e8e 100644 --- a/mdkonline.pm +++ b/mdkonline.pm @@ -39,6 +39,7 @@ our @EXPORT = qw(find_current_distro get_product_id get_release get_stale_upgrade_filename + is_it_2008_0 is_enterprise_media_supported is_restricted_media_supported translate_product @@ -68,6 +69,10 @@ sub get_release() { ($r); } +sub is_it_2008_0() { + $product_id->{version} eq '2008.0'; +} + sub is_enterprise_media_supported() { to_bool($product_id->{type} eq 'Enterprise' && $product_id->{product} eq 'Server'); } |