diff options
Diffstat (limited to 'scripts/postinst-intercepts/update_font_cache')
-rw-r--r-- | scripts/postinst-intercepts/update_font_cache | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/postinst-intercepts/update_font_cache b/scripts/postinst-intercepts/update_font_cache new file mode 100644 index 0000000000..562b5b3cb9 --- /dev/null +++ b/scripts/postinst-intercepts/update_font_cache | |||
@@ -0,0 +1,7 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | PSEUDO_UNLOAD=1 qemuwrapper $D$(readelf -l $D${bindir}/fc-cache| grep "Requesting program interpreter"|sed -e 's/^.*\[.*: \(.*\)\]/\1/') \ | ||
4 | --library-path $D/lib:$D/usr/lib $D${bindir}/fc-cache \ | ||
5 | --sysroot=$D >/dev/null 2>&1 | ||
6 | |||
7 | |||