convert plugin lib from libkwinBLA to kwin_BLA, so you don't loose your settings

svn path=/trunk/kdebase/kwin/; revision=141858
This commit is contained in:
Thomas Zander 2002-03-08 20:12:09 +00:00
parent 772f247ba7
commit 614336c2c6
3 changed files with 15 additions and 0 deletions

View file

@ -35,3 +35,6 @@ data_DATA= eventsrc
sounddir= $(kde_sounddir)
sound_DATA = pop.wav
update_DATA = kwin.upd pluginlibFix.pl
updatedir = $(kde_datadir)/kconf_update

4
kwin.upd Normal file
View file

@ -0,0 +1,4 @@
Id=kde3.0r1
File=kwinrc
Options=overwrite
Script=pluginlibFix.pl,perl

8
pluginlibFix.pl Executable file
View file

@ -0,0 +1,8 @@
#!/usr/bin/perl
foreach (<>) {
if(/^PluginLib=libkwin(.*)$/) {
print "PluginLib=kwin_$1\n";
next;
}
print $_;
}