diff options
| author | Jeremy Katz <katzj@redhat.com> | 2004-06-30 21:56:26 +0000 |
|---|---|---|
| committer | Jeremy Katz <katzj@redhat.com> | 2004-06-30 21:56:26 +0000 |
| commit | 658dc068ec0c43b31ec7ed5b834794c78e09dee2 (patch) | |
| tree | d1a4956ff96d6341d50ea97e1757f3402f6921ff /scripts | |
| parent | 844b3892993e35c2f8618baf0cda003ca28a86e5 (diff) | |
I hate this gtk nonsense
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/upd-instroot | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/scripts/upd-instroot b/scripts/upd-instroot index 7c1cb2ed8..f586f2429 100755 --- a/scripts/upd-instroot +++ b/scripts/upd-instroot @@ -921,7 +921,19 @@ ModuleFiles=/etc/pango/pango.modules EOF fi -HOSTTRIPLET=`rpm --nodigest --nosignature -qp --qf "%{POSTIN}\n" $PACKAGEDIR/gtk2*.rpm |grep update-gdk-pixbuf |awk {'print $2;'}` +host=`rpm --nodigest --nosignature -qp --qf "%{POSTIN}\n" $PACKAGEDIR/gtk2*.rpm |grep update-gdk-pixbuf |awk {'print $2;'}` + +case "$host" in + *linux) host="$1-gnu" + ;; + *) host=$1 + ;; +esac + +# autoconf uses powerpc not ppc +HOSTTRIPLET=`echo $host | sed "s/^ppc/powerpc/"` + + mkdir -p $DESTGR/etc/gtk-2.0/$HOSTTRIPLET echo "Getting gtk2 input method modules" |
