summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-01-26 16:48:42 +0000
committerThierry Vignaud <tv@mandriva.org>2010-01-26 16:48:42 +0000
commit339a16a4fe6a905ebb49fd6b65152cfd950565e6 (patch)
treeaa4bb3fe8c86ed2515f4e9f839889707ef091955
parenta381fd0dcc0b1b11ddbca47f236bb50477d564a1 (diff)
downloadmgaonline-339a16a4fe6a905ebb49fd6b65152cfd950565e6.tar
mgaonline-339a16a4fe6a905ebb49fd6b65152cfd950565e6.tar.gz
mgaonline-339a16a4fe6a905ebb49fd6b65152cfd950565e6.tar.bz2
mgaonline-339a16a4fe6a905ebb49fd6b65152cfd950565e6.tar.xz
mgaonline-339a16a4fe6a905ebb49fd6b65152cfd950565e6.zip
(is_enterprise_media_supported,is_restricted_media_supported) no
support on 2008.1
-rw-r--r--mdkonline.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdkonline.pm b/mdkonline.pm
index 564a4e8e..981b6614 100644
--- a/mdkonline.pm
+++ b/mdkonline.pm
@@ -74,10 +74,12 @@ sub is_it_2008_0() {
}
sub is_enterprise_media_supported() {
+ return if is_it_2008_0();
to_bool($product_id->{type} eq 'Enterprise' && $product_id->{product} eq 'Server');
}
sub is_restricted_media_supported() {
+ return if is_it_2008_0();
to_bool($product_id->{product} =~ /powerpack/i);
}