summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2011-12-10 05:17:23 +0000
committerThierry Vignaud <tv@mageia.org>2011-12-10 05:17:23 +0000
commitfb6a6335bede7a155c90ebe44b8ef4835bb2439a (patch)
tree33cad2d870981f768f85551c34e37439454364f1
parentc7ec90de835789075b81a2eb88c7326382815f31 (diff)
downloadcontrol-center-fb6a6335bede7a155c90ebe44b8ef4835bb2439a.tar
control-center-fb6a6335bede7a155c90ebe44b8ef4835bb2439a.tar.gz
control-center-fb6a6335bede7a155c90ebe44b8ef4835bb2439a.tar.bz2
control-center-fb6a6335bede7a155c90ebe44b8ef4835bb2439a.tar.xz
control-center-fb6a6335bede7a155c90ebe44b8ef4835bb2439a.zip
(run_browser) fix URLs such as Errata (mga#3603)
-rw-r--r--NEWS2
-rwxr-xr-xcontrol-center4
2 files changed, 3 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 817421a9..269ea6b5 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- fix Errata URL (mga#3603)
+
Version 12.21.9 - 24 May 2011 Anne Nicolas
- fix left background resize
diff --git a/control-center b/control-center
index c5eb5499..f69eab37 100755
--- a/control-center
+++ b/control-center
@@ -680,9 +680,7 @@ sub run_help() {
sub run_browser {
my ($url) = @_;
- # Enable back $url when we will have our first release and our first release wiki page
- #$url = "http://wiki.mageia.org/en/$release->{version}_$url" if $url !~ m!^http://!;
- $url = "http://www.mageia.org/" if $url !~ m!^http://!;
+ $url = "http://wiki.mageia.org/en/$release->{distribution}_$release->{version}_$url" if $url !~ m!^http://!;
run_program::raw({ detach => 1, as_user => 1 }, '/usr/bin/www-browser', $url);
}