diff options
author | Jesse Keating <jkeating@redhat.com> | 2009-08-06 15:52:39 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2009-08-06 15:52:03 -1000 |
commit | baa48643a75047785a5752a7f800d728c5d8317f (patch) | |
tree | 6d0fe8fd8d7cecfa0caa4ddeaafe05831e504802 | |
parent | 1a42e88839e1328b07d09d95e71292aefba9b125 (diff) | |
download | anaconda-baa48643a75047785a5752a7f800d728c5d8317f.tar.gz anaconda-baa48643a75047785a5752a7f800d728c5d8317f.tar.xz anaconda-baa48643a75047785a5752a7f800d728c5d8317f.zip |
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.
-rwxr-xr-x | scripts/upd-instroot | 2 |
1 files changed, 1 insertions, 1 deletions
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 |