#!/bin/sh # Stream Cinema Caolina pro Enigmu (doplněk ArchivCZSK) – instalace / aktualizace # wget -qO- https://repo.caolina.zone/e2/installer.sh | sh nebo curl -s https://repo.caolina.zone/e2/installer.sh | sh URL="https://repo.caolina.zone/e2/enigma2-plugin-extensions-caolina_1.15.0_all.ipk" SHA="e671bc718c2ab16f8d280509042e0ae6a90dcd1b85d637503acc9b21b279f1cb" T=/tmp/caolina.ipk echo "Caolina 1.15.0: stahuji..." if command -v curl >/dev/null 2>&1; then curl -fsSL -o $T "$URL"; else wget -q -O $T "$URL"; fi || { echo "Stazeni selhalo"; exit 1; } if command -v sha256sum >/dev/null 2>&1; then [ "$(sha256sum $T | cut -d' ' -f1)" = "$SHA" ] || { echo "Kontrolni soucet nesedi - neinstaluji"; rm -f $T; exit 1; } fi if [ ! -d /usr/lib/enigma2/python/Plugins/Extensions/archivCZSK ]; then echo "Nejdriv nainstaluj ArchivCZSK (opkg install enigma2-plugin-extensions-archivczsk)"; rm -f $T; exit 1 fi opkg install --force-reinstall --force-downgrade $T || { rm -f $T; exit 1; } rm -f $T echo "Hotovo - restartuj GUI (init 4 && sleep 2 && init 3)"