I guess I didn't intend to commit this file with that.

svn path=/trunk/kdebase/kwin/; revision=298096
This commit is contained in:
Luboš Luňák 2004-03-23 16:52:12 +00:00
parent 0eeaa25674
commit d160269cde

View file

@ -1,17 +1,13 @@
#! /bin/sh #! /bin/sh
was= was=
while read line; do while read line; do
echo LINE:$line >>/tmp/qwe.txt
if echo "$line" | grep '^IgnoreFocusStealingClasses=' >/dev/null 2>/dev/null; then if echo "$line" | grep '^IgnoreFocusStealingClasses=' >/dev/null 2>/dev/null; then
echo REPLACE >>/tmp/qwe.txt
echo "$line" | sed 's/\(^IgnoreFocusStealingClasses=.*$\)/\1,kded,kio_uiserver,kget/' echo "$line" | sed 's/\(^IgnoreFocusStealingClasses=.*$\)/\1,kded,kio_uiserver,kget/'
echo "$line" | sed 's/\(^IgnoreFocusStealingClasses=.*$\)/\1,kded,kio_uiserver,kget/' >>/tmp/qwe.txt
was=1 was=1
else else
echo "$line" echo "$line"
fi fi
done done
if test -z "$was"; then if test -z "$was"; then
echo APPEND >>/tmp/qwe.txt
echo "IgnoreFocusStealingClasses=kded,kio_uiserver,kget" echo "IgnoreFocusStealingClasses=kded,kio_uiserver,kget"
fi fi