Always run ldconfig even if we don't change ld.so.conf.
This commit is contained in:
parent
71a8a74b43
commit
693d719f63
|
@ -292,13 +292,18 @@ then {
|
||||||
|
|
||||||
# if the user doesn't have $libdir in their ld.so.conf add this
|
# if the user doesn't have $libdir in their ld.so.conf add this
|
||||||
# to our sucommand string
|
# to our sucommand string
|
||||||
if [ -f /etc/ld.so.conf ] && ! grep -qs "$libdir" /etc/ld.so.conf
|
if [ -f /etc/ld.so.conf ]
|
||||||
then {
|
then
|
||||||
echo
|
if [ ! grep -qs "$libdir" /etc/ld.so.conf ]
|
||||||
echo "$libdir doesn't exist in your /etc/ld.so.conf, it will be added"
|
then {
|
||||||
echo "when we perform the install..."
|
echo
|
||||||
sucommand="$sucommand;echo $libdir>>/etc/ld.so.conf;$ac_cv_path_LDCONFIG"
|
echo "$libdir doesn't exist in your /etc/ld.so.conf, it will be added"
|
||||||
}
|
echo "when we perform the install..."
|
||||||
|
sucommand="$sucommand;echo $libdir>>/etc/ld.so.conf"
|
||||||
|
}
|
||||||
|
fi
|
||||||
|
# run ldconfig always just in case some updated files dont get linked
|
||||||
|
sucommand="$sucommand;$ac_cv_path_LDCONFIG"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Reference in New Issue