So long time without post :)
Last night i uploaded a new version(0.9) of ebookmerge to portage. Ebookmerge is a tool for manage ebooks in gentoo per user. All app-doc/ebooks-* has been masked pending removal.
With ebookmerge you can:
Retrieve an update listdirectly from the lidn web:
bass@bebop ~ $ ebookmerge.sh -r
* Dowloading list from http://lidn.sf.net…
* Dowloaded. Use -l for a list.
bass@bebop ~ $
You can search:
bass@bebop ~ $ ebookmerge.sh -s sed
* Results for sed :
sed-3.02.tgz
bass@bebop ~ $
Show the list of aviable and installed ebooks:
bass@bebop ~ $ ebookmerge.sh -l
Download an ebook to current directory:
bass@bebop ~ $ ebookmerge.sh -d sed-3.02
* Dowloading eBook sed-3.02 in /home/bass…
* Dowloaded.
bass@bebop ~ $
Emerge the ebook. It download the ebook and install it in DevHelp repository (you need devhelp >=0.10)
bass@bebop ~ $ ebookmerge.sh -e textutils-2.0.tgz
* Dowloading eBook in /tmp/tmp.bo2pCv…
* Dowloaded.
* Preparing to install /tmp/tmp.bo2pCv/textutils-2.0.tgz in DevHelp…
* unpacking /tmp/tmp.bo2pCv/textutils-2.0.tgz…
* /tmp/tmp.bo2pCv/textutils-2.0.tgz installed in DevHelp :-)
bass@bebop ~ $
Uninstall an ebook:
bass@bebop ~ $ ebookmerge.sh -u sed-3.02
* sed-3.02 will be deleted in 5 seconds….
* sed-3.02 was deleted.
bass@bebop ~ $
And of course the help:
bass@bebop ~ $ ebookmerge.sh -h
eBook downloader for Gentoo Linux [ v 0.9 ]
by bass@gentoo.org* Usage: ebookmerge.sh options (-hlrid)-l : list aviable eBooks and installed eBooks.
-r : retrieve/refresh eBooks list.
-d NAME : download eBook.
-i NAME : install eBook previously dowloaded to devhelp.
-u NAME : uninstall eBook. Don’t use confirmation.
-e NAME : emerge an eBook.
-s EXPR : search eBook.
-c : disable color.
-h : show this help.
* To download and insatll an Ebook :
* ebookmerge.sh -e bashref-2.05a.tgz or other eBook name.
* This script actually doesn’t works with relative paths.
bass@bebop ~ $
It’s more easy to mantain this script that a lot of lil ebuilds and an eclass…
Any bug or sugest please mail me or bug.gentoo.org.
In other hand, my picts fo the USA trip are in my gallery
Recent Comments