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

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

 



> 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

If there is not gtk-cursor-theme-name, do we have something to fall back
on?

- Chris

_______________________________________________
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