dic 022008
Con una riga ottengo sempre l’ultima versione dei tarball pubblicati, dei sorgenti della svn di aMule. Ho gia pubblicato come commento l’intero PKGBUILD su AUR anche se si tratta solo di una riga, cioè solo pkgver.
Btw, me la segno qui per memo:
pkgver="$(wget -q "http://amule.uw.hu/tarballs/tarballs.xml" -O- | awk -F "'" '/revision/ {field = $2}; END{print field }')"
BB.



we dario, quand’è che ti converti anche tu a mldonkey?
supporta anche i server multipli!
t’ho vedi un pò chi passa da queste parti! quel debianaro di pasquale! mldonkey l’ho provato svariato tempo fa, mi ricordo che c’era da smanettare con le config e non mi ingozzava farlo
vabè, se mi gira ci riprovo
update: pkgver=”$(wget -q “http://amule.uw.hu/tarballs/tarballs.xml” -O- | grep -v branch | awk -F “‘” ‘/revision/ {field = $2}; END{print field }’)”
$ cat myamulechecking
#!/bin/bash
#tadah=$(wget -q “http://amule.uw.hu/tarballs/tarballs.xml” -O- | grep -v branch | awk -F “‘” ‘/revision/ {field = $2}; END{print field }’)
tadah=$(wget -q “http://amule.uw.hu/tarballs/tarballs.xml” -O- | awk -F “‘” ‘/youngest/ {field = $4}; END{print field }’)
echo [LOCAL=$(pacman -Q amule-cvs | awk {'print $2'})] [REPO=$(pacman -Sl deelab | grep amule-cvs | awk {'print $3'})] [SOURCE=$tadah]