2018-04-06 23:03:38 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-05-11 01:14:15 +00:00
|
|
|
# Thanks to Jerry Vonau (https://github.com/jvonau) who made this critical
|
|
|
|
# breakthrough possible!
|
|
|
|
#
|
|
|
|
# Calibre 3.23 is the latest available from testing as of 2018-05-10:
|
2018-04-06 23:03:38 +00:00
|
|
|
# https://packages.debian.org/search?keywords=calibre
|
2018-05-11 01:14:15 +00:00
|
|
|
# (SEE ALSO http://deb.debian.org/debian/pool/main/c/calibre/ ?)
|
|
|
|
#
|
|
|
|
# Might break future updates; you have been warned.
|
2018-04-06 23:03:38 +00:00
|
|
|
|
|
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
|
|
# Updates to calibre & calibre-bin to "very latest" 3.x from unstable
|
|
|
|
echo "deb http://deb.debian.org/debian unstable main" >> /etc/apt/sources.list.d/unstable.list
|
|
|
|
apt update
|
|
|
|
apt -y install calibre calibre-bin
|
|
|
|
# Remove last line, safer than: rm /etc/apt/sources.list.d/debian-unstable.list
|
|
|
|
sed -i '$ d' /etc/apt/sources.list.d/unstable.list
|
|
|
|
# Clears the cache of testing and unstable
|
|
|
|
apt update
|