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:
parent
6804f6fe65
commit
f9143aa865
@ -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})
|
||||
|
8
plasma_popupapplet_fix_groups.pl
Executable file
8
plasma_popupapplet_fix_groups.pl
Executable file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
while(<>) {
|
||||
if ($_ =~ m/^\[.*\[Configuration\]\[PopupApplet\]$/) {
|
||||
$_ =~ s/\[Configuration\]\[PopupApplet\]$/[PopupApplet]/;
|
||||
}
|
||||
print $_;
|
||||
}
|
4
plasma_popupapplet_fix_groups.upd
Normal file
4
plasma_popupapplet_fix_groups.upd
Normal 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
|
Loading…
Reference in New Issue
Block a user