[PC-BSD Commits] r2897 - pbibuild/modules/bacula-bat/overlay-dir/bin

svn at pcbsd.org svn at pcbsd.org
Mon Oct 13 00:38:51 PDT 2008


Author: silvers
Date: 2008-10-13 00:38:50 -0700 (Mon, 13 Oct 2008)
New Revision: 2897

Modified:
   pbibuild/modules/bacula-bat/overlay-dir/bin/bat-kommander.sh
Log:
try using kommander (KDE4) too

Modified: pbibuild/modules/bacula-bat/overlay-dir/bin/bat-kommander.sh
===================================================================
--- pbibuild/modules/bacula-bat/overlay-dir/bin/bat-kommander.sh	2008-10-11 14:05:56 UTC (rev 2896)
+++ pbibuild/modules/bacula-bat/overlay-dir/bin/bat-kommander.sh	2008-10-13 07:38:50 UTC (rev 2897)
@@ -1,10 +1,14 @@
 #!/bin/sh
 
+# version 1.0.1 (13.Oct.2008)
+# * as the 2nd preference (as it doesn't work perfectly yet), try to locate kommander (KDE4) as kmdr-executor
+
 # version 1.0 (02.Apr.2008)
 # * don't search bat.kmdr from the directory of kmdr-executor
 # * allow passing directory of bat.kmdr as $1
 
-kmdr_exec="`which kmdr-executor 2>/dev/null`"
+# kmdr-executor -- KDE3 ;; kommander -- KDE4
+kmdr_exec="`which kmdr-executor || which kommander 2>/dev/null`"
 
 if [ "$kmdr_exec" ]; then
 	script_dir="`dirname $0`"



More information about the Commits mailing list