From baa48643a75047785a5752a7f800d728c5d8317f Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Thu, 6 Aug 2009 15:52:39 -1000 Subject: Avoid finding the word 'engine' in comments. This was causing us to try and find a "Uses" engine because the gtkrc file had "# Uses the Nodoka theme engine, " in it. --- scripts/upd-instroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upd-instroot b/scripts/upd-instroot index c173325dc..e79843a87 100755 --- a/scripts/upd-instroot +++ b/scripts/upd-instroot @@ -113,7 +113,7 @@ expandPackageSet() { gtktheme=$(grep "gtk-theme-name" $YUMDIR/etc/gtk-2.0/gtkrc | awk {'print $3;'} | sed -e 's/"//g') echo "usr/share/themes/$gtktheme" >> $KEEPFILES # find gtk engine needed - for engine in `grep engine $YUMDIR/usr/share/themes/$gtktheme/gtk-2.0/gtkrc | awk {'print $2;'} | sed -e 's/"//g' | sort -u` ; do + for engine in `grep engine $YUMDIR/usr/share/themes/$gtktheme/gtk-2.0/gtkrc | grep -v ^# | awk {'print $2;'} | sed -e 's/"//g' | sort -u` ; do echo "usr/$LIBDIR/gtk-2.0/*/engines/*$engine*" >> $KEEPFILES done -- cgit