summaryrefslogtreecommitdiffstats
path: root/konversation/scripts/bug
blob: 0f5ec86131199c9dbb787a8faf3546834177bb0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

PORT=$1
SERVER=$2
TARGET=$3
BUG=$4

if [ ! $TARGET ]
then
  dcop $PORT default error "Can't write into status view."
else
  if [ -z $BUG ]
  then
    dcop $PORT default error "You forgot the bug number!"
  else
    kfmclient openURL http://bugs.kde.org/show_bug.cgi?id=$4
  fi
fi