[PC-BSD Commits] r17469 - in pcbsd/current/src-sh/de-info: . de-profiles

svn at pcbsd.org svn at pcbsd.org
Wed Jun 27 08:31:25 PDT 2012


Author: yurkis
Date: 2012-06-27 15:31:23 +0000 (Wed, 27 Jun 2012)
New Revision: 17469

Modified:
   pcbsd/current/src-sh/de-info/de-info
   pcbsd/current/src-sh/de-info/de-profiles/kde.profile
Log:
Add 'separate args for terminal command' value for de-info
Kosole expect that command (after -e switch) will be divided to separate command line args.

Modified: pcbsd/current/src-sh/de-info/de-info
===================================================================
--- pcbsd/current/src-sh/de-info/de-info	2012-06-27 14:14:16 UTC (rev 17468)
+++ pcbsd/current/src-sh/de-info/de-info	2012-06-27 15:31:23 UTC (rev 17469)
@@ -12,6 +12,7 @@
 DEFAULT_SUDO="pc-su %s"
 DEFAULT_TERMINAL_COMMAND="-e"
 DEFAULT_TERMINAL_TITLE="-T"
+DEFAULT_TERMINAL_SEPARATE_ARGS="NO"
 display_help()
 {
   echo "de-info - display desktop environment info script"
@@ -48,6 +49,7 @@
       echo "Terminal: $DE_TERMINAL"
       echo "Terminal title switch: $DE_TERMINAL_TITLE"
       echo "Terminal command switch: $DE_TERMINAL_COMMAND"
+      echo "Terminal command separate args: $DE_TERMINAL_SEPARATE_ARGS"
 }
 
 parse_all()
@@ -61,6 +63,7 @@
   DE_TERMINAL=$DEFAULT_TERMINAL
   DE_TERMINAL_TITLE=$DEFAULT_TERMINAL_TITLE
   DE_TERMINAL_COMMAND=$DEFAULT_TERMINAL_COMMAND
+  DE_TERMINAL_SEPARATE_ARGS=$DEFAULT_TERMINAL_SEPARATE_ARGS
   DE_INSTALLED=0
   DE_ACTIVE=0
 
@@ -85,9 +88,13 @@
   do
   DE_NAME=""
   XDG=""
-  DE_SU=$DEFAULT_SUDO
+  DE_TERMINAL=$DEFAULT_TERMINAL
   DE_FILEMAN=""
   DE_TERMINAL=$DEFAULT_TERMINAL
+  DE_TERMINAL_TITLE=$DEFAULT_TERMINAL_TITLE
+  DE_TERMINAL_COMMAND=$DEFAULT_TERMINAL_COMMAND
+  DE_TERMINAL_SEPARATE_ARGS=$DEFAULT_TERMINAL_SEPARATE_ARGS
+
   DE_INSTALLED=0
   DE_ACTIVE=0
 

Modified: pcbsd/current/src-sh/de-info/de-profiles/kde.profile
===================================================================
--- pcbsd/current/src-sh/de-info/de-profiles/kde.profile	2012-06-27 14:14:16 UTC (rev 17468)
+++ pcbsd/current/src-sh/de-info/de-profiles/kde.profile	2012-06-27 15:31:23 UTC (rev 17469)
@@ -5,6 +5,7 @@
 DE_TERMINAL="konsole"
 DE_TERMINAL_TITLE="--caption"
 DE_TERMINAL_COMMAND="-e"
+DE_TERMINAL_SEPARATE_ARGS="YES"
 DE_FILEMAN="dolphin %s"
 
 active() {



More information about the Commits mailing list