summaryrefslogtreecommitdiffstats
path: root/mgaonline.pm
diff options
context:
space:
mode:
Diffstat (limited to 'mgaonline.pm')
-rw-r--r--mgaonline.pm18
1 files changed, 0 insertions, 18 deletions
diff --git a/mgaonline.pm b/mgaonline.pm
index 2cce07af..cbabd47d 100644
--- a/mgaonline.pm
+++ b/mgaonline.pm
@@ -45,7 +45,6 @@ our @EXPORT = qw(find_current_distro
get_release
get_stale_upgrade_filename
get_urpmi_options
- is_enterprise_media_supported
is_extmaint_supported
is_restricted_media_supported
read_sys_config
@@ -59,7 +58,6 @@ our @EXPORT_OK = qw(
get_product_info
get_my_mdv_profile
add_medium_powerpack
- add_medium_enterprise
add_medium_extended
);
@@ -93,10 +91,6 @@ sub is_extmaint_supported() {
$product_id->{support} eq 'extended';
}
-sub is_enterprise_media_supported() {
- return; # NOT SUPPORTED ON MAGEIA
- to_bool($product_id->{type} eq 'Enterprise' && $product_id->{product} eq 'Server');
-}
sub is_restricted_media_supported() {
return; # NOT SUPPORTED ON MAGEIA
@@ -168,7 +162,6 @@ sub translate_product {
mini => N("Mageia Mini"),
one => N("Mageia One"),
powerPack => N("Mageia PowerPack"),
- server => N("Mageia Enterprise Server"),
);
$product ||= lc $product_id->{product};
$strings{$product} || $product;
@@ -206,17 +199,6 @@ sub get_urpmi_options() {
({ sensitive_arguments => 1 }, 'urpmi.addmedia', '--xml-info', 'always');
}
-sub add_medium_enterprise {
- my ($email, $password, $version, $arch) = @_;
- my $uri = sprintf('https://%s:%s@download.FIXME.com/%s/rpms/%s/',
- uri_escape($email),
- uri_escape($password),
- $version,
- $arch);
- my @options = get_urpmi_options();
- run_program::raw(@options, '--update', '--distrib', $uri);
-}
-
sub add_medium_powerpack {
my ($email, $password, $version, $arch) = @_;
my $uri = sprintf('https://%s:%s@dl.FIXME.com/rpm/comm/%s/',