Add missing instruction for LibreELEC in install script

This commit is contained in:
Alexandre CATTEAU 2023-08-13 15:37:05 +02:00
parent 0c77bf7bbc
commit eed3bbb083

View File

@ -17,6 +17,7 @@ fi
if [ $(echo $(lsb_release) | cut -d ' ' -f 1) = "LibreELEC" ]; then
cp /usr/share/kodi/system/certs/cacert.pem /storage/.kodi/userdata/cacert.pem
cat $run_directory/kto.crt >> /storage/.kodi/userdata/cacert.pem
cp $run_directory/advancedsettings.xml /storage/.kodi/userdata/
else # More classic Linux expected
if command -v update-ca-trust > /dev/null; then
$sudo cp $run_directory/*.crt /etc/ca-certificates/trust-source/anchors/