diff options
-rw-r--r-- | mdkonline.pm | 2 | ||||
-rwxr-xr-x | mdkupdate | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mdkonline.pm b/mdkonline.pm index 7a9949ea..6f99d49c 100644 --- a/mdkonline.pm +++ b/mdkonline.pm @@ -23,7 +23,7 @@ my $testing = 1; my $release_file = find { -f $_ } '/etc/mandriva-release', '/etc/mandrakelinux-release', '/etc/mandrake-release', '/etc/redhat-release'; my ($product_file, $conf_file, $rootconf_file) = ('/etc/sysconfig/system', '/etc/sysconfig/mdkonline', '/root/.MdkOnline/hostconf'); -my $uri = !$testing ? 'https://online.mandriva.com/soap' : 'http://online3.mandriva.com/o/soap/'; +my $uri = !$testing ? 'https://online.mandriva.com/soap' : 'http://192.168.100.47/~romain/online3b/soap'; my $online_proxy = $service_proxy = $uri; @@ -226,7 +226,7 @@ sub add_media { my ($media_name, $mirror, $hdlist, $option) = @_; eval { system "/usr/sbin/urpmi.removemedia", $media_name; - system "/usr/sbin/urpmi.addmedia", $option, $media_name, $mirror, "with", $hdlist; + system "/usr/sbin/gurpmi.addmedia", $option, $media_name, $mirror, "with", $hdlist; }; $@ and die "Problem adding bundle media with urpmi"; } |