1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

Update calibre-install-latest-rpi.sh

This commit is contained in:
A Holt 2018-05-10 23:59:37 -04:00 committed by GitHub
parent 3b1178dc6c
commit 2af5e8781a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,11 +13,11 @@
# Might break future updates; you have been warned. # Might break future updates; you have been warned.
export DEBIAN_FRONTEND=noninteractive export DEBIAN_FRONTEND=noninteractive
# Prepare to update to latest from testing # Prepares to update to latest from testing
echo "deb http://raspbian.raspberrypi.org/raspbian/ testing main" > /etc/apt/sources.list.d/rpi-testing.list echo "deb http://raspbian.raspberrypi.org/raspbian/ testing main" > /etc/apt/sources.list.d/rpi-testing.list
apt update apt update
apt -y install calibre calibre-bin apt -y install calibre calibre-bin
# Remove last line, safer than: rm /etc/apt/sources.list.d/rpi-testing.list # Removes last line, safer than: rm /etc/apt/sources.list.d/rpi-testing.list
sed -i '$ d' /etc/apt/sources.list.d/rpi-testing.list sed -i '$ d' /etc/apt/sources.list.d/rpi-testing.list
# Clears the cache of testing # Clears the cache of testing
apt update apt update