diff options
| author | Christian Rößler | 2013-06-25 14:20:18 +0200 |
|---|---|---|
| committer | Christian Rößler | 2013-06-25 14:20:18 +0200 |
| commit | 987b5417fea181f2fe02cdc198850fe36076c919 (patch) | |
| tree | 32561a54697efa24123404245eb7f39e46c4693e /remote | |
| parent | Some glibc-libs (libnss_compat, libbnss_db, libnss_dns, libnss_files, libnss_... (diff) | |
| download | tm-scripts-987b5417fea181f2fe02cdc198850fe36076c919.tar.gz tm-scripts-987b5417fea181f2fe02cdc198850fe36076c919.tar.xz tm-scripts-987b5417fea181f2fe02cdc198850fe36076c919.zip | |
Better detection of pango-querymodules/pango-querymodules-64 in case of 64bit OS
Diffstat (limited to 'remote')
| -rw-r--r-- | remote/modules/openbox/openbox.build | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/remote/modules/openbox/openbox.build b/remote/modules/openbox/openbox.build index f3ce1448..0cd6aaad 100644 --- a/remote/modules/openbox/openbox.build +++ b/remote/modules/openbox/openbox.build @@ -21,10 +21,16 @@ post_copy() { # pango-querymodules-64, not pango-querymodules. which pango-querymodules 2>/dev/null 1>&2 ERR=$? - if [[ "$ERR" -ne 0 ]]; then - PANGO_QUERYMODULES_ARCH=pango-querymodules-64 - else + if [[ "$ERR" -eq 0 ]]; then PANGO_QUERYMODULES_ARCH=pango-querymodules + else + which pango-querymodules-64 2>/dev/null 1>&2 + ERR=$? + if [[ "$ERR" -eq 0 ]]; then + PANGO_QUERYMODULES_ARCH=pango-querymodules-64 + else + perror "Could not find either pango-querymodules or pango-querymodules-64!" + fi fi $PANGO_QUERYMODULES_ARCH > "$TARGET_BUILD_DIR/etc/pango/pango.modules" } |
