
echo $package > $failed chown osmc:osmc $failed.
Attempting to restart Kodi in 30 seconds.\n" 9 74 > /dev/tty1
#N64 EMULATOR XPAD UPDATE#
dialog -backtitle "Package configuration" -title "OSMC Update Error" -infobox "\n An error occurred while installing the following package:\n $package\n\n Please report this problem on the OSMC forum, making sure to\n include debug logs. if then package="(unknown package)" fi. pkg=$(basename $(grep -i -A 1 "Errors were encountered while processing" $tmp | tail -n 1)) pkgarr=($)" fi. if ! debconf-apt-progress -logfile $tmp - apt-get-noninteractive -f -y dist-upgrade > /dev/tty1. # Package downloads have been done in the addon, so let's get right to upgrade. if then sleep 4 dialog -backtitle "Package configuration" -title "OSMC Update" -infobox "$err\n\nContinuing in 10 seconds." 0 0 >/dev/tty1 sleep 10 fi. err=$(dpkg -configure -force-confdef -force-confold -a 2>&1). dialog -backtitle "Package configuration" -title "OSMC Update" -infobox "\n Checking for updates to install." 5 48 > /dev/tty1. In that case we just redirect it to /dev/tty1 for each command that needs to display output like this: osmc/osmc/blob/master/package/base-files-osmc/files/usr/bin/manual-update#L43 We have the same situation to deal with in the manual-update script - it runs as a background headless service but we want to display its output on a tty. That’s easy to fix - all we have to do is redirect stdin/stdout/stderr for the script running emulation station to a tty so that any command line programs emulation station spawns will be connected to the tty instead of the ssh session. Of course the menu you speak of is the console based runcommand.sh one that we can’t see on the Vero4k…Īh but we will be able to soon. I also watch old 4:3 TV programs in 4:3 … Looks weird with rectangular blocks that stay landscape even when they rotate… I just can’t bear the wasted screen real-estate up on the wall.