mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-21 05:43:20 -07:00
Remove redundant ldconfig check
This commit is contained in:
parent
eeabf9d74a
commit
2f0d3be8e4
1 changed files with 1 additions and 1 deletions
|
@ -548,7 +548,7 @@ if [ ! -z "${PLEXSERVER}" -a "${AUTOINSTALL}" = "yes" ]; then
|
|||
fi
|
||||
|
||||
if [ "${AUTOINSTALL}" = "yes" ]; then
|
||||
if ! hash ldconfig 2>/dev/null && [ -x /sbin/ldconfig -a "${DISTRO}" = "ubuntu" ]; then
|
||||
if ! hash ldconfig 2>/dev/null && [ -a "${DISTRO}" = "ubuntu" ]; then
|
||||
export PATH=$PATH:/sbin
|
||||
fi
|
||||
# no elif since DISTRO_INSTALL will produce error output for us
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue