libplasma: Add a kconf_update script for the PopupApplet configuration change/fix in revision 937998 (see also rh#495998). (OKed by aseigo.)

svn path=/trunk/KDE/kdelibs/; revision=957251
This commit is contained in:
Kevin Kofler 2009-04-21 17:11:20 +00:00
parent 6804f6fe65
commit f9143aa865
3 changed files with 14 additions and 0 deletions

View File

@ -297,3 +297,5 @@ install(FILES
install(FILES scripting/plasmoids.knsrc DESTINATION ${CONFIG_INSTALL_DIR})
install(FILES plasma_popupapplet_fix_groups.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR})
install(PROGRAMS plasma_popupapplet_fix_groups.pl DESTINATION ${KCONF_UPDATE_INSTALL_DIR})

View File

@ -0,0 +1,8 @@
#!/usr/bin/perl
while(<>) {
if ($_ =~ m/^\[.*\[Configuration\]\[PopupApplet\]$/) {
$_ =~ s/\[Configuration\]\[PopupApplet\]$/[PopupApplet]/;
}
print $_;
}

View File

@ -0,0 +1,4 @@
# Fix groups of the form ...[Configuration][PopupApplet] into ...[PopupApplet]
Id=PlasmaPopupAppletFixGroups
File=plasma-appletsrc,plasmarc,plasmoidviewer-appletsrc
Script=plasma_popupapplet_fix_groups.pl,perl