[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH 2/2] use different approach to tweak gconf settings in the image (#642358).



> -</gconfentryfile>
> -EOF
> -gconftool-2 --direct --config-source="xml:readwrite:$DEST/etc/gconf/gconf.xml.defaults" --load $GCONF_RULES_FILE
> +GCONF_CONFIG_SOURCE="xml:readwrite:$DEST/etc/gconf/gconf.xml.defaults"
> +echo "Updating gconf at $GCONF_CONFIG_SOURCE"
> +gconf_update() {
> +    path=$1
> +    entry_type=$2
> +    value=$3
> +    CMD="gconftool-2 --direct --config-source=$GCONF_CONFIG_SOURCE -s -t $entry_type $path $value"
> +    ${CMD}
> +}
> +gconf_update /apps/metacity/general/button_layout string :

The colon is a valid piece of shell syntax

   chris pyramid:~$ help :
   :: :
       Null command.
       
       No effect; the command does nothing.
       
       Exit Status:
       Always succeeds.

So you likely want to escape that or put it in quotes or something.

- Chris


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]