diff --git a/src/calibre/trac/plugins/download.py b/src/calibre/trac/plugins/download.py index af7f26fd3c..33049e9dc8 100644 --- a/src/calibre/trac/plugins/download.py +++ b/src/calibre/trac/plugins/download.py @@ -131,8 +131,9 @@ class Download(Component): return self.linux_distro(req, os) def linux_distro(self, req, os): + version = self.version_from_filename() distro = Distribution(os) - data = dict(distro=distro,title=distro.title) + data = dict(distro=distro,title=distro.title, version=version) return 'distro.html', data, None def top_level(self, req): diff --git a/src/calibre/trac/plugins/templates/distro.html b/src/calibre/trac/plugins/templates/distro.html index d05c758ed3..8d5c041cf3 100644 --- a/src/calibre/trac/plugins/templates/distro.html +++ b/src/calibre/trac/plugins/templates/distro.html @@ -35,10 +35,10 @@
python >= 2.5
-wget -O- http://calibre.kovidgoyal.net/downloads/calibre-0.4.83.tar.bz2 | tar xvj +wget -O- http://calibre.kovidgoyal.net/downloads/calibre-$version.tar.gz | tar xvz cd calibre* python setup.py build && sudo python setup.py install
prs500 info-
- This should return some miscellaneous information about your reader. If it works your reader is being recognized by calibre. - On some distributions, you have to give non-root users access to the reader devices. - First check what group the reader devices are assigned to by -
ls -l /dev/sd?- If you've just plugged in your reader, the reader devices should be at the bottom of the list. On - my system I get -
-brw-r----- 1 root disk 8, 0 2008-05-27 13:50 /dev/sda -brw-r----- 1 root disk 8, 16 2008-05-27 13:50 /dev/sdb -brw-r----- 1 root disk 8, 32 2008-05-28 07:43 /dev/sdc -brw-r----- 1 root disk 8, 48 2008-05-28 07:43 /dev/sdd -brw-r----- 1 root disk 8, 64 2008-05-28 07:43 /dev/sde -- Thus the group needed is disk. Add yourself to the group with the command -
gpasswd -a username groupname- - Now reboot and you're done!