Unverified Commit b41f9da9 authored by Igor Pečovnik's avatar Igor Pečovnik Committed by GitHub
Browse files

Fix Tvheadend install

On Debian
parent 398666ac
...@@ -660,13 +660,12 @@ if [[ "$family" == "Ubuntu" ]]; then ...@@ -660,13 +660,12 @@ if [[ "$family" == "Ubuntu" ]]; then
debconf-apt-progress -- apt-get -y install libssl-doc libssl1.0.0 zlib1g-dev tvheadend xmltv-util debconf-apt-progress -- apt-get -y install libssl-doc libssl1.0.0 zlib1g-dev tvheadend xmltv-util
else else
if [ ! -f /etc/apt/sources.list.d/tvheadend.list ]; then if [ ! -f /etc/apt/sources.list.d/tvheadend.list ]; then
echo "deb https://dl.bintray.com/tvheadend/deb xenial release-4.2" >> /etc/apt/sources.list.d/tvheadend.list echo "deb http://www.deb-multimedia.org ${distribution} main non-free" >> /etc/apt/sources.list.d/tvheadend.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61 >/dev/null 2>&1 apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 5C808C2B65558117 >/dev/null 2>&1
fi fi
URL="http://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.0.0_1.0.1t-1+deb8u9_"$(dpkg --print-architecture)".deb" URL="http://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.0.0_1.0.1t-1+deb8u9_"$(dpkg --print-architecture)".deb"
fancy_wget "$URL" "-O ${TEMP_DIR}/package.deb" fancy_wget "$URL" "-O ${TEMP_DIR}/package.deb"
dpkg -i ${TEMP_DIR}/package.deb >/dev/null 2>&1 dpkg -i ${TEMP_DIR}/package.deb >/dev/null 2>&1
local pkglist="libssl-doc zlib1g-dev tvheadend xmltv-util"
debconf-apt-progress -- apt-get update debconf-apt-progress -- apt-get update
debconf-apt-progress -- apt-get -y install libssl-doc zlib1g-dev tvheadend xmltv-util debconf-apt-progress -- apt-get -y install libssl-doc zlib1g-dev tvheadend xmltv-util
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment