Short update.
Below my latest """nightly""" download method:
Code:
--------------------
PACKAGE=$(curl -s 'http://downloads.slimdevices.com/nightly/?ver=7.9' | grep
"amd64" | awk -F '"' '{print $2}' )
wget http://downloads.slimdevices.com/nightly/${PACKAGE#.}
--------------------
It provides the .deb only. The earlier version downloaded the entire
directory-structure +.deb.
####
Inspired by Pauls comment, I added a revision check:
Code:
--------------------
ACTPACKAGEREV=$(cat /usr/share/squeezeboxserver/revision.txt | head -1)
NEWPACKAGEREV=$(curl -s 'http://downloads.slimdevices.com/nightly/?ver=7.9' |
grep "amd64" | awk -F '~' '{print $2}' | awk -F '_' '{print $1}')
[[ $ACTPACKAGEREV == $NEWPACKAGEREV ]] && { echo "***No need to run an
update***" ; exit 1 ; } ;
--------------------
Enjoy.
------------------------------------------------------------------------
soundcheck's Profile: http://forums.slimdevices.com/member.php?userid=34383
View this thread: http://forums.slimdevices.com/showthread.php?t=107247
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter