diff --git a/iNB.sh b/iNB.sh index c09b38c..dd757c6 100644 --- a/iNB.sh +++ b/iNB.sh @@ -17,6 +17,7 @@ if [ ! -e /.multinfo ]; then [ -e /tmp/neoboot.zip ] && rm -f /tmp/neoboot.zip [ -e /tmp/neoboot-main ] && rm -rf /tmp/neoboot-main [ $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" @@ -24,8 +25,11 @@ if [ ! -e /.multinfo ]; then break; else if [ -e $Cel/NeoBoot/plugin.py ]; then - chattr -i /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/plugin.py; chattr -i /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/plugin.pyo + chattr -i /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/plugin.py fi + if [ -e $Cel/NeoBoot/plugin.pyo ]; then + chattr -i /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/plugin.pyo + fi if [ -e /usr/lib/periodon/.activatedmac ]; then chattr -i /usr/lib/periodon/.activatedmac; rm -f /usr/lib/periodon/.activatedmac fi @@ -51,6 +55,7 @@ if [ ! -e /.multinfo ]; then rm -rf $Cel/NeoBoot/.location fi [ $PL ] && echo "Instalowanie..." || echo "Instaling..." + 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 @@ -80,8 +85,8 @@ if [ ! -e /.multinfo ]; then echo "#####################################################" echo "" fi - echo " ----- Restart Enigma2 GUI ... ----- " - echo " N E O B O O T " + echo " N E O B O O T " + echo " ----- Restart Enigma2 GUI ... ----- " sleep 2 if [ $OS = 'DreamOS' ]; then systemctl restart enigma2