Skip to content
Browse files

pastekodi: avoid cmp this is installed by system-tools [backport]

  • Loading branch information
MilhouseVH committed Jan 7, 2020
1 parent 0ad0fe7 commit 4a5f3a22c2f62e9f9a106fe748cb7d91a5dba7d9
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
cat_file /run/libreelec/cacert.pem "/run/libreelec/cacert.pem (modified)"

0 comments on commit 4a5f3a2

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