Commit 398666ac authored by Igor Pecovnik's avatar Igor Pecovnik
Browse files

Apply fix Tvheadend, Ubuntu works, official repository remain broken, Debian version doesn't work

parent 0fb379ea
......@@ -71,7 +71,7 @@ Login as root and type:
|Application name|Stretch|Bionic|Test install|
|:--|:--:|:--:|--:|
|TV headend (IPTV server)|:x:|:x:|29.09.2018|
|TV headend (IPTV server)|:x:|:heavy_check_mark:|29.09.2018|
|Syncthing (personal cloud)|:heavy_check_mark:|:heavy_check_mark:|29.09.2018|
|SoftEther VPN server (VPN server)|:heavy_check_mark:|:heavy_check_mark:|29.09.2018|
|ExaGear desktop (x86 emulator)|n/a|:question:|:question:|
......
......@@ -654,22 +654,22 @@ install_tvheadend ()
#
# TVheadend https://tvheadend.org/ unofficial port https://tvheadend.org/boards/5/topics/21528
#
if [ ! -f /etc/apt/sources.list.d/tvheadend.list ]; then
if [[ "$family" == "Ubuntu" ]]; then
add-apt-repository ppa:mamarley/tvheadend-git-stable >/dev/null 2>&1
debconf-apt-progress -- apt-get update
debconf-apt-progress -- apt-get -y install libssl-doc libssl1.0.0 zlib1g-dev tvheadend xmltv-util
else
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
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61 >/dev/null 2>&1
fi
if [[ $distribution == "stretch" ]]; then
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"
fancy_wget "$URL" "-O ${TEMP_DIR}/package.deb"
dpkg -i ${TEMP_DIR}/package.deb >/dev/null 2>&1
local pkglist="libssl-doc zlib1g-dev tvheadend xmltv-util"
else
local pkglist="libssl-doc libssl1.0.0 zlib1g-dev tvheadend xmltv-util"
debconf-apt-progress -- apt-get update
debconf-apt-progress -- apt-get -y install libssl-doc zlib1g-dev tvheadend xmltv-util
fi
debconf-apt-progress -- apt-get update
debconf-apt-progress -- apt-get -y install $pkglist
}
......
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