diff options
author | Thierry Vignaud <tv@mageia.org> | 2011-12-10 05:17:23 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2011-12-10 05:17:23 +0000 |
commit | fb6a6335bede7a155c90ebe44b8ef4835bb2439a (patch) | |
tree | 33cad2d870981f768f85551c34e37439454364f1 | |
parent | c7ec90de835789075b81a2eb88c7326382815f31 (diff) | |
download | control-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-- | NEWS | 2 | ||||
-rwxr-xr-x | control-center | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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); } |