Posts: 20
Joined: Apr 2011
Reputation:
0
I was coming into the help section looking to post my problem with not being able to update. This completely solves my problem. What great work and solid little script.
Thank you very much durniplot
Posts: 34
Joined: Dec 2011
Reputation:
0
leezy
Junior Member
Posts: 34
this one yes...?
rm xbmcup.sh
echo '#!/bin/sh' >> ./xbmcup.sh
echo "xbmcdir=http://mirrors.xbmc.org/nightlies/darwin/atv2" >> ./xbmcup.sh
echo "wget -q \$xbmcdir" >> ./xbmcup.sh
echo "xbmcdeb=\$(cat index.html | gawk 'match(\$0, \">(xbmc-.*-.*-master-atv2.deb)<\", a) {print a[1]}' | head -n 1)" >> ./xbmcup.sh
echo "rm index.html" >> ./xbmcup.sh
echo "wget \$xbmcdir/\$xbmcdeb" >> ./xbmcup.sh
echo "dpkg -i \$xbmcdeb" >> ./xbmcup.sh
echo "rm \$xbmcdeb" >> ./xbmcup.sh
chmod 755 ./xbmcup.sh
Posts: 31,445
Joined: Jan 2011
leezy Wrote:will this fix atv2 black 1.2 as well..
thanks
no.
Posts: 25
Joined: Aug 2011
Reputation:
1
It's been quite a while since we were having sweet, sweet dailies, so I wanted to let you know that the update scripts at the beginning of this thread are still working.
Also, as a reminder, you need some extra tools installed. You can get these from cydia (in dev. mode) - search for apt, wget and gawk.
Best regards,
Durniplot.
Posts: 46
Joined: Mar 2012
Reputation:
1
prynn
Junior Member
Posts: 46
Seems good, but the thing is I am on Apple tv 2. Sorry I didnt tell you. But maybe I can figure it out when i get home.
Cheers!