[PATCH] upd-instroot: Inspect gtkrc for cursor theme

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

 



This happened to work before because the icon theme had the same name as
the cursor theme.
---
 scripts/upd-instroot |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index 2deef8f..29f182a 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"
-- 
1.6.2.2

_______________________________________________
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