Check /sbin/plymouthd for arch instead of /proc/$$/exe. /sbin/plymouthd is guaranteed to be there and be the correct arch.
parent
1a1b179a5b
commit
d03caf15cc
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
if ldd /proc/$$/exe |grep -q lib64; then
|
||||
if ldd /sbin/plymouthd |grep -q lib64; then
|
||||
LIBDIR="/usr/lib64"
|
||||
else
|
||||
LIBDIR="/usr/lib"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
if ldd /proc/$$/exe |grep -q lib64; then
|
||||
if ldd /sbin/plymouthd |grep -q lib64; then
|
||||
LIBDIR="/usr/lib64"
|
||||
else
|
||||
LIBDIR="/usr/lib"
|
||||
|
|
|
|||
Loading…
Reference in New Issue