diff options
author | Adam Jackson <ajax@redhat.com> | 2009-08-07 11:50:39 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2009-08-07 15:31:40 -0400 |
commit | 5371bf4dfd707c8a0801127d04eb0096d6b94c6e (patch) | |
tree | 2f9a1b566c7f762912f220c1718fe674d9f521d3 | |
parent | 1d836f116fa3de0b566a9fd27232dc31e83963b2 (diff) | |
download | anaconda-5371bf4dfd707c8a0801127d04eb0096d6b94c6e.tar.gz anaconda-5371bf4dfd707c8a0801127d04eb0096d6b94c6e.tar.xz anaconda-5371bf4dfd707c8a0801127d04eb0096d6b94c6e.zip |
upd-instroot: Inspect gtkrc for cursor theme
This happened to work before because the icon theme had the same name as
the cursor theme.
-rwxr-xr-x | scripts/upd-instroot | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/upd-instroot b/scripts/upd-instroot index 2deef8f4d..29f182a91 100755 --- a/scripts/upd-instroot +++ b/scripts/upd-instroot @@ -122,6 +122,11 @@ expandPackageSet() { echo "usr/share/icons/$theme" >> $KEEPFILES theme=$(grep Inherits $YUMDIR/usr/share/icons/$theme/index.theme | cut -d = -f 2) done + + cursortheme=$(grep "gtk-cursor-theme-name" $YUMDIR/etc/gtk-2.0/gtkrc | awk {'print $3;'} | sed -e 's/"//g') + if [ -n "$cursortheme" ]; then + echo "usr/share/icons/$cursortheme" >> $KEEPFILES + fi fi echo `date` "Installing files" |