Search
j0ke.net Open Build Service
>
Projects
>
KDE
:
QT-3
>
kvirc
> kvirc-browser.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File kvirc-browser.patch of Package kvirc
--- scripts/browser/kvi_run_netscape +++ scripts/browser/kvi_run_netscape @@ -7,6 +7,9 @@ if [ -z "$1" ]; then echo "Missing URL" else + if which desktop-launch > /dev/null; then + desktop-launch "$1" 2>/dev/null + else for BROWSER in firefox seamonkey mozilla netscape ""; do if [ -z "$BROWSER" ]; then echo "Could not find either Netscape or Mozilla" @@ -21,4 +24,5 @@ echo "$BROWSER is not currently running. Starting a new instance..." exec "$BROWSER" "$1" fi + fi fi