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

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

 



> -</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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux