[Kde-kiosk] KDE 3.3.1 seems to get exec expansion wrong

Ingo Klöcker kloecker at kde.org
Sat Jan 22 15:32:52 CET 2005


On Friday 21 January 2005 13:09, Waldo Bastian wrote:
> On Friday 14 January 2005 10:42, Russell Brown wrote:
> > I've updated my system to KDE 3.3.1 (debian), NOT changed my global
> > config files and now the expansion of shell commands doesn't work.
> >
> > For example, in my global kmailrc I've the lines:
> >
> >  [Identity #0]
> >  Organization[$ei]=$(getdef COMPANY)
> >
> > (getdef is a utility that returns a string).
> >
> > Pre 3.3.1 (using 3.2.3), the Organization is kmail would be set to
> > the string that getdef prints.
> >
> > Now (3.3.1) the Organisation field contains "$(getdef COMPANY)" -
> > ie no shell expansion is being done.  As I use shell expansion to
> > fill in lots of defaults this isn't good news :-(
> >
> > Any idea what's changed?  Is this intentional?
>
> KMail changed the layout of its configuration files and now stores
> identities in a file named "emailidentities". I guess the migration
> of settings didn't go too well, we don't really handle migration of
> locked down settings, although it is surprising to see "$(getdef
> COMPANY)" appear literally. Seems to be a bug in kconf_update.

kmail-3.3-move-identities.pl looks okay. It simply prints the to be 
moved key/value pairs just as they have been passed to it by 
kconf_update. Relevant code snippet:

    # Move over keys from the identity groups
    if ( $currentGroup =~ /^Identity/ ) {
        print;
    }

Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-kiosk/attachments/20050122/4606a9f6/attachment.pgp


More information about the kde-kiosk mailing list