1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 19:52:06 +00:00
iiab/scripts/calibre-install-unstable.sh

26 lines
1,020 B
Bash
Raw Normal View History

#!/bin/bash
2018-05-11 01:14:15 +00:00
# Thanks to Jerry Vonau (https://github.com/jvonau) who made this critical
# breakthrough possible!
#
2018-06-10 05:15:29 +00:00
# Calibre 3.25 is the latest available from testing as of 2018-06-10:
#
# https://packages.debian.org/search?keywords=calibre
# http://deb.debian.org/debian/pool/main/c/calibre/
# http://raspbian.raspberrypi.org/raspbian/pool/main/c/calibre/
# http://archive.raspbian.org/raspbian/pool/main/c/calibre/
2018-05-11 01:14:15 +00:00
#
# Might break future updates; you have been warned.
2018-08-21 10:43:30 +00:00
# SEE NOTES AT TOP OF scripts/calibre-install-packages.sh
export DEBIAN_FRONTEND=noninteractive
2018-05-11 04:00:18 +00:00
# Prepares to update to latest from unstable
apt-key adv --recv-key --keyserver keyserver.ubuntu.com 7638D0442B90D010
2018-08-23 17:59:06 +00:00
echo "deb http://deb.debian.org/debian unstable main" > /etc/apt/sources.list.d/debian-unstable.list
apt update
apt -y install calibre calibre-bin
2018-08-23 18:05:47 +00:00
#sed -i '$ d' /etc/apt/sources.list.d/debian-unstable.list # Removes last line
2018-08-23 17:59:06 +00:00
rm /etc/apt/sources.list.d/debian-unstable.list
# Clears the cache of debian/unstable
apt update