summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2007-08-21 15:03:29 +0000
committerJeremy Katz <katzj@redhat.com>2007-08-21 15:03:29 +0000
commitdf9eb60c158ca724a9bca2b2268ca24497481f7b (patch)
tree04d8c619d269fa27d4da42ec856adf044013bfd4 /scripts
parenta43a84b1302047595ba7c19a773fc98401839480 (diff)
2007-08-21 Jeremy Katz <katzj@redhat.com>
* scripts/upd-instroot: Check theme stuff in the installed root, not the host
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/upd-instroot8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index d3cb6dd5a..89ee1284d 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -163,17 +163,17 @@ expandPackageSet() {
# figure out the theme to keep
if [ -f $PKGDEST/yumdir/etc/gtk-2.0/gtkrc ]; then
- gtktheme=$(grep "gtk-theme-name" $PKGDEST/etc/gtk-2.0/gtkrc | awk {'print $3;'} | sed -e 's/"//g')
+ gtktheme=$(grep "gtk-theme-name" $PKGDEST/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 /usr/share/themes/$gtktheme/gtk-2.0/gtkrc | awk {'print $2;'} | sed -e 's/"//g' | sort -u` ; do
+ for engine in `grep engine $PKGDEST/yumdir/usr/share/themes/$gtktheme/gtk-2.0/gtkrc | awk {'print $2;'} | sed -e 's/"//g' | sort -u` ; do
echo "usr/$LIBDIR/gtk-2.0/*/engines/*$engine*" >> $KEEPFILES
done
- theme=$(grep "gtk-icon-theme-name" $PKGDEST/etc/gtk-2.0/gtkrc | awk {'print $3;'} | sed -e 's/"//g')
+ theme=$(grep "gtk-icon-theme-name" $PKGDEST/yumdir/etc/gtk-2.0/gtkrc | awk {'print $3;'} | sed -e 's/"//g')
while [ -n "$theme" ]; do
echo "usr/share/icons/$theme" >> $KEEPFILES
- theme=$(grep Inherits /usr/share/icons/$theme/index.theme | cut -d = -f 2)
+ theme=$(grep Inherits $PKGDEST/yumdir/usr/share/icons/$theme/index.theme | cut -d = -f 2)
done
fi