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:
parent
3b1178dc6c
commit
2af5e8781a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue