mirror of
https://github.com/yuzu-emu/AppImageKit-checkrt.git
synced 2025-07-16 18:07:30 +00:00
AppRun.sh: Search for root CA file on system
This commit is contained in:
parent
b720c12e6a
commit
72b7ae1ba6
11
AppRun.sh
11
AppRun.sh
|
@ -42,6 +42,17 @@ if [ -n "$cxxpath" ] || [ -n "$gccpath" ]; then
|
|||
export LD_LIBRARY_PATH="${cxxpath}${gccpath}${LD_LIBRARY_PATH}"
|
||||
fi
|
||||
|
||||
# Find correct root CA file
|
||||
POSSIBLE_CERTIFICATES="/etc/ssl/certs/ca-bundle.crt /etc/ssl/certs/ca-certificates.crt"
|
||||
if [ -z "$SSL_CERT_FILE" ]; then
|
||||
for i in $POSSIBLE_CERTIFICATES; do
|
||||
if [ -f "$i" ]; then
|
||||
export SSL_CERT_FILE="$i"
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
#echo ">>>>> $LD_LIBRARY_PATH"
|
||||
#echo ">>>>> $LD_PRELOAD"
|
||||
|
||||
|
|
Loading…
Reference in a new issue