[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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

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





Reply to: