diff options
author | Ray Strode <rstrode@redhat.com> | 2008-07-09 21:31:20 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2008-07-09 21:31:20 -0400 |
commit | d8086a93a37e1e76c7b544a13faef13683c79b62 (patch) | |
tree | c4e0856b634c8576988051ed4be69cb3cfe959b0 /scripts/plymouth-set-default-plugin | |
parent | d10b3eb6da0521dc1bb0a2a1d62f619a2460d73c (diff) | |
download | plymouth-d8086a93a37e1e76c7b544a13faef13683c79b62.tar.gz plymouth-d8086a93a37e1e76c7b544a13faef13683c79b62.tar.xz plymouth-d8086a93a37e1e76c7b544a13faef13683c79b62.zip |
Compute libdir using yet a different heuristic
The previous one falls over for ia64
Diffstat (limited to 'scripts/plymouth-set-default-plugin')
-rwxr-xr-x | scripts/plymouth-set-default-plugin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/plymouth-set-default-plugin b/scripts/plymouth-set-default-plugin index a2ac8fd..3edee7a 100755 --- a/scripts/plymouth-set-default-plugin +++ b/scripts/plymouth-set-default-plugin @@ -4,7 +4,7 @@ set -e [ -z "$LIBEXECDIR" ] && LIBEXECDIR="/usr/libexec" [ -z "$DATADIR" ] && DATADIR="/usr/share" -[ -z "$LIB" ] && $(eu-readelf -h /usr/bin/plymouth | grep Class | grep -q ELF64) && LIB="lib64" || LIB="lib" +[ -z "$LIB" ] && $(echo nash-showelfinterp /usr/bin/plymouth | /sbin/nash --forcequiet | grep -q lib64) && LIB="lib64" || LIB="lib" [ -z "$LIBDIR" ] && LIBDIR="/usr/$LIB" [ -z "$BINDIR" ] && BINDIR="/usr/bin" |