Skip to content
Permalink
Browse files

Merge pull request #4101 from MilhouseVH/le92_fix_pastekodi_cmp

pastekodi: avoid cmp this is installed by system-tools [backport]
  • Loading branch information
Christian Hewitt
Christian Hewitt committed Jan 8, 2020
2 parents 0ad0fe7 + 4a5f3a2 commit 5e2bc84e27c1ccaad8329a9169f9adbcb00548f7
Showing with 4 additions and 1 deletion.
  1. +4 −1 packages/mediacenter/kodi/scripts/pastekodi
@@ -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)"

0 comments on commit 5e2bc84

Please sign in to comment.
You can’t perform that action at this time.