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

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 6 Aug 2009, Jesse Keating wrote:

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



Applied.

- -- David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkp7iP0ACgkQ5hsjjIy1Vkl0ngCeI2giluifTbLuWI/NnrEN5sro
uq0AnjVU7tj1P1m0Tq/XTBQIOQRcBsop
=7fJr
-----END PGP SIGNATURE-----

_______________________________________________
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