#!/bin/bash
URL="https://xeev.app/files/deb/release/enigma2-plugin-extensions-xeaio_3.3.0_all.deb"

dpkg -r enigma2-plugin-extensions-xtreameditor
sleep 2
dpkg -r enigma2-plugin-extensions-xevpnsetup
sleep 2
dpkg -r enigma2-plugin-extensions-xeaio
sleep 2
rm -f /etc/apt/sources.list.d/xe-feed.list
echo "deb https://xeev.app/files/deb/release/ ./" > /etc/apt/sources.list.d/xe-feed.list
apt update
rm /tmp/xtream-plugin.deb
wget -O /tmp/xtream-plugin.deb $URL;
dpkg -i /tmp/xtream-plugin.deb
sleep 3
rm /tmp/xtream-plugin.deb
systemctl restart enigma2
