Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Results 1 to 5 of 5

Thread: Install plugins via script

  1. #1
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,766
    Thanks
    473
    Thanked 608 Times in 434 Posts

    Install picon ipks via script

    Hi im not sure where to put this thread so please move if you wish.

    Im currently making a plugin to download picon ipks and place the picon folders in hdd and hdd/SkyQ for me this has been working fine ive had a few people test it and they get mv: cant rename '/picon' : No such file or directory. So I did a fresh flash of openatv and ran the script and get the same error that is when I remembered that I have updated wget to run a script for a skin.

    Here are the scripts that im trying to run SNP version https://github.com/davesayers2014/Pi...con_Updater.sh and SRP version https://github.com/davesayers2014/Pi...con_Updater.sh

    The plugin is meant to download my script and run it and works fine after updating wget

    Code:
    #!/bin/sh
    #
    echo Updating Package sources
    eval opkg update
    
    echo Updating wget component...
    eval opkg install wget
    
    echo Updating BASH shell...
    eval opkg install bash
    
    exit 0
    Im hoping someone can make sense of it and work out why it wont work thanks

    I would upload the ipks but the forum wont allow me?
    Last edited by dsayers; 12-05-17 at 11:59.

  2. The Following User Says Thank You to dsayers For This Useful Post:

    Bangord30 (12-05-17)

  3. #2
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,766
    Thanks
    473
    Thanked 608 Times in 434 Posts
    Or possibly have the script run the wget update once but not every time

  4. #3
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,766
    Thanks
    473
    Thanked 608 Times in 434 Posts
    Just to confirm I tried to talnet opkg install https://github.com/davesayers2014/Pi...l.ipk?raw=true --force-depends >/dev/null 2>&1 and no picon folder installed on root with no errors but after updating wget it downloads the picon folder fine

  5. #4
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,766
    Thanks
    473
    Thanked 608 Times in 434 Posts
    Ok would it be bad to have the update wget within the script so it would attempt to update wget every time the plugin is ran?

    Or maybe have if not exist in python to look for a file if the file doesn't exist run the update wget script then have it create a file and download and run the picon script.

    After that have else download the script and it should continue to run the picon script.

  6. #5
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,766
    Thanks
    473
    Thanked 608 Times in 434 Posts
    Still cant get around the update wget if someone wants to try the plugins they can be found here with instructions to update wget just choose the picon type you want ie snp or srp instructions in the readme.md https://github.com/davesayers2014/Picon

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.