From 5371bf4dfd707c8a0801127d04eb0096d6b94c6e Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 7 Aug 2009 11:50:39 -0400 Subject: upd-instroot: Inspect gtkrc for cursor theme This happened to work before because the icon theme had the same name as the cursor theme. --- scripts/upd-instroot | 5 +++++ 1 file changed, 5 insertions(+) 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" -- cgit