~ubuntu-branches/ubuntu/maverick/yokadi/maverick

« back to all changes in this revision

Viewing changes to src/bin/xyokadi

  • Committer: Bazaar Package Importer
  • Author(s): Harald Sitter
  • Date: 2009-07-19 13:01:35 UTC
  • Revision ID: james.westby@ubuntu.com-20090719130135-eonczddb1s21ux1v
Tags: upstream-0.10.0
ImportĀ upstreamĀ versionĀ 0.10.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
# GPL v3
 
3
# Sebastien Renard (Sebastien.Renard@digitalfox.org) 2009
 
4
 
 
5
# Simple wrapper to start yokadi in a shell Terminal
 
6
# This wrapper is intended for people that would like
 
7
# to start yokadi from a menu or icon click
 
8
# That's not a very powerful way to use yokadi
 
9
# but it could help to gather newbies that still believe
 
10
# to point and click myth
 
11
 
 
12
for term in konsole rxvt xterm
 
13
do
 
14
    which $term #> /dev/null 2>&1
 
15
    if [ $? == 0 ]; then
 
16
        exec $term -e yokadi $*
 
17
    fi
 
18
done