mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Merge pull request #4101 from MilhouseVH/le92_fix_pastekodi_cmp
pastekodi: avoid cmp this is installed by system-tools [backport]
This commit is contained in:
commit
5e2bc84e27
@ -91,7 +91,10 @@ fi
|
||||
cat_file "${KODI_ROOT}/.smb/smb.conf"
|
||||
cat_file "${KODI_ROOT}/.smb/user.conf"
|
||||
cat_file "/run/samba/smb.conf"
|
||||
if cmp -s /etc/ssl/cacert.pem.system /run/libreelec/cacert.pem; then
|
||||
|
||||
pem_sys="$(sha256sum /etc/ssl/cacert.pem.system | cut -d' ' -f1)"
|
||||
pem_run="$(sha256sum /run/libreelec/cacert.pem | cut -d' ' -f1)"
|
||||
if [ "${pem_sys}" = "${pem_run}" ]; then
|
||||
cat_data "/run/libreelec/cacert.pem is default" </dev/null
|
||||
else
|
||||
cat_file /run/libreelec/cacert.pem "/run/libreelec/cacert.pem (modified)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user