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-latest-rpi.sh

19 lines
831 B
Bash
Raw Normal View History

#!/bin/bash
2018-05-11 01:18:23 +00:00
# Thanks to Jerry Vonau (https://github.com/jvonau) who made this critical
# breakthrough possible!
#
2018-08-21 10:43:49 +00:00
# Might break future updates; you have been warned.
# SEE NOTES AT TOP OF scripts/calibre-install-packages.sh
export DEBIAN_FRONTEND=noninteractive
2018-07-22 20:54:24 +00:00
# Prepares to update to latest from raspbian testing
echo "deb http://raspbian.raspberrypi.org/raspbian/ testing main" > /etc/apt/sources.list.d/rpi-testing.list
apt update
2018-10-23 22:27:38 +00:00
apt -y install sqlite3 # Appears no longer nec as of 2018-10-23. Was required in Sept 2018 as workaround for https://github.com/iiab/iiab/issues/1139 that blocked install of Admin Console
apt -y install calibre calibre-bin
2018-08-23 18:02:53 +00:00
#sed -i '$ d' /etc/apt/sources.list.d/rpi-testing.list # Removes last line
2018-07-22 20:54:24 +00:00
rm /etc/apt/sources.list.d/rpi-testing.list
2018-08-23 18:00:24 +00:00
# Clears the cache of rpi/testing
apt update