[PATCH] Avoid finding the word 'engine' in comments.

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

 



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 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index c173325..e79843a 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
 
-- 
1.6.2.5

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux