Update iNB.sh

This commit is contained in:
gutosie
2022-03-25 11:32:31 +02:00
committed by GitHub
parent 1a3e83211f
commit 109240490e

11
iNB.sh
View File

@@ -16,9 +16,10 @@ fi
if [ ! -e /.multinfo ]; then
[ -e /tmp/neoboot.zip ] && rm -f /tmp/neoboot.zip
[ -e /tmp/neoboot-main ] && rm -rf /tmp/neoboot-main
echo "Multiboot image"
echo ":"
echo "M U L T I B O O T"
echo ""
[ $PL ] && echo "Pobieranie archiwum..." || echo "Downloading archive file..."
echo "*****************************************************"
URL='https://github.com/gutosie/neoboot/archive/main.zip'
curl -kLs $URL -o /tmp/neoboot.zip
Cel="/usr/lib/enigma2/python/Plugins/Extensions"
@@ -56,7 +57,7 @@ if [ ! -e /.multinfo ]; then
rm -rf $Cel/NeoBoot/.location
fi
[ $PL ] && echo "Instalowanie..." || echo "Instaling..."
echo ":"
echo "*****************************************************"
[ -e $Cel/NeoBoot ] && rm -rf $Cel/NeoBoot/* || mkdir -p $Cel/NeoBoot
mv -f /tmp/neoboot-main/NeoBoot/files/testinout /usr/lib/enigma2/python/Tools/Testinout.py
mkdir -p /usr/lib/periodon
@@ -86,8 +87,10 @@ if [ ! -e /.multinfo ]; then
echo "#####################################################"
echo ""
fi
echo "*******************************************************"
echo " N E O B O O T "
echo " ----- Restart Enigma2 GUI ----- "
echo " ----- Restart Enigma2 GUI ----- "
echo "*******************************************************"
sleep 2
if [ $OS = 'DreamOS' ]; then
systemctl restart enigma2