Raspberry Pi port, piCore-14.0 is available!
As I thought, thanks. The part I was unsure of was it's placement on the path.Is /usr/local/bin/ a good home or one of the other path dirs preferable?Nice script JPeters, thanks again.
if [ -d "$HOME/.local/bin" ] ; then PATH=$HOME/.local/bin:$PATH export PATH fi
OK so you're simply appending a directory to the path. That little bit you got there could be done the same by inserting this somewhere no? Had to ask because my time to learn is limited. Thanks for your time and the example.export PATH=$PATH:/home/tc/.local/bin
#!/bin/sh. /etc/init.d/tc-functionsDIR="."mkdir -p /tmp/work/usr/local/binsudo cp ${DIR}/update /tmp/work/usr/local/binsudo chown -R tc:staff /tmp/worksudo chmod 775 /tmp/work/usr/local/bin/updatecd /tmp/worksudo mksquashfs ./ /home/tc/update.tczecho "${GREEN}update.tcz is in $HOME ${NORMAL}"sudo rm -R /tmp/work
#!/bin/sh. /etc/init.d/tc-functionsDIR="."mkdir -p /tmp/work/usr/local/binmkdir /tmp/work/usr/local/tce.menusudo cp ${DIR}/gupdate /tmp/work/usr/local/bincat <<EOF> "/tmp/work/usr/local/tce.menu/gupdate"<JWM><Program label="gupdate">/usr/local/bin/gupdate</Program><JWM>EOFsudo chown -R tc:staff /tmp/worksudo chown -R root:staff /tmp/work/usr/local/tce.*sudo chmod 775 /tmp/work/usr/local/bin/gupdatesudo chmod 775 /tmp/work/usr/local/tce.*sudo chmod 644 /tmp/work/usr/local/tce.menu/gupdatecd /tmp/worksudo mksquashfs ./ /home/tc/gupdate.tczecho "${GREEN}gupdate.tcz is in $HOME ${NORMAL}"sudo rm -R /tmp/work
Version 4.2.1Automatically loads its own deps if not present. (links,wget,dialog,diffutils).For tcl_tk (dep for gupdate), uncomment it out in load() section (lines 49,56)Tutorial:[removed due to policy]