From 2d49afc6df3d6045c9a1d58bd7d8d7eb20fed175 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Sun, 24 Oct 2010 19:50:22 +0200 Subject: [PATCH] [scripts] improve pango modules setup, make it working for 32bit chroots --- scripts/remaster_generic_inner_chroot_script_after.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/remaster_generic_inner_chroot_script_after.sh b/scripts/remaster_generic_inner_chroot_script_after.sh index de4baec..ae94b08 100755 --- a/scripts/remaster_generic_inner_chroot_script_after.sh +++ b/scripts/remaster_generic_inner_chroot_script_after.sh @@ -214,7 +214,11 @@ fi # It happens with E17 lives, for sure there is something broken # somewhere. if [ -x "/usr/bin/pango-querymodules" ]; then - /usr/bin/pango-querymodules > "/etc/pango/$(uname -m)-pc-linux-gnu/pango.modules" + if [ "$(uname -m)" = "x86_64" ]; then + /usr/bin/pango-querymodules > "/etc/pango/x86_64-pc-linux-gnu/pango.modules" + else + /usr/bin/pango-querymodules > "/etc/pango/pango.modules" + fi fi # Setup SAMBA config file