File: bug

package info (click to toggle)
konversation 1.3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 17,080 kB
  • ctags: 4,900
  • sloc: cpp: 45,134; perl: 475; python: 397; sh: 211; makefile: 9
file content (17 lines) | stat: -rwxr-xr-x 318 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

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

if [ ! $TARGET ]
then
  qdbus org.kde.konversation /irc error "Can't write into status view."
else
  if [ -z $BUG ]
  then
    qdbus org.kde.konversation /irc error "You forgot the bug number!"
  else
    kfmclient openURL https://bugs.kde.org/buglist.cgi?quicksearch=$3
  fi
fi