Bug#488480: kdm: grep @@@ToBeReplacedByDesktopBase@@@ does not respect commented line

2010-10-17 Thread Modestas Vainius
forcemerge 530493 488480
thanks

Hello,

On sekmadienis 29 Birželis 2008 11:59:29 Gert Brinkmann wrote:
 Package: kdm
 Version: 4:3.5.9.dfsg.1-2+c0.sidux.2
 
 (This is currently a sidux-vesion of the package, but this should not
 make a difference, I think.)
 
 In /etc/init.d/kdm a grep is done to check if the kdmrc is maintained by
 kdmtheme:
 
 #if configuration is changed by kdmtheme or other tools, don't do magick
 if grep -q Theme=@@@ToBeReplacedByDesktopBase@@@ ${KDMRC}  grep -q
 Wallpaper=default_blue.jpg ${BACKGROUNDRC}
 
 These two greps find the strings even if they are commented. So the grep
 pattern better should be

A duplicate of #530493 which was fixed long ago

-- 
Modestas Vainius modes...@vainius.eu


signature.asc
Description: This is a digitally signed message part.


Bug#488480: kdm: grep @@@ToBeReplacedByDesktopBase@@@ does not respect commented line

2008-06-29 Thread Gert Brinkmann

Package: kdm
Version: 4:3.5.9.dfsg.1-2+c0.sidux.2

(This is currently a sidux-vesion of the package, but this should not 
make a difference, I think.)


In /etc/init.d/kdm a grep is done to check if the kdmrc is maintained by 
kdmtheme:


#if configuration is changed by kdmtheme or other tools, don't do magick
if grep -q Theme=@@@ToBeReplacedByDesktopBase@@@ ${KDMRC}  grep -q 
Wallpaper=default_blue.jpg ${BACKGROUNDRC}


These two greps find the strings even if they are commented. So the grep 
pattern better should be


^[^#]*Theme=@@@ToBeReplacedByDesktopBase@@@

and

^[^#]*Wallpaper=default_blue.jpg

Regards,
Gert



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]