Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 378413
Collapse All | Expand All

(-)yarssr-0.2.2~/lib/Yarssr/GUI.pm (-3 / +9 lines)
Lines 162-170 Link Here
162
			);
162
			);
163
		}
163
		}
164
		else {
164
		else {
165
			my $b = Yarssr::Config->get_browser;
165
			my @b = split(' ', Yarssr::Config->get_browser);
166
			$b .= " \"$url\"" unless $b =~ s/\%s/"$url"/;
166
			if (grep(/\%s/, @b))
167
			exec($b) or warn "unable to launch browser\n";
167
			{
168
				map {grep(s/\%s/$url/, $_) => $_} @b;
169
			}
170
			else {
171
				push(@b, $url);
172
			}
173
			exec(@b) or warn "unable to launch browser\n";
168
			exit;
174
			exit;
169
		}
175
		}
170
	}
176
	}

Return to bug 378413