mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
use pinned
This commit is contained in:
parent
58ba19c772
commit
a012b099f0
3 changed files with 3 additions and 3 deletions
17
scripts/calibre-install-pinned-rpi.sh
Executable file
17
scripts/calibre-install-pinned-rpi.sh
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Thanks to Jerry Vonau (https://github.com/jvonau) who made this critical
|
||||
# breakthrough possible!
|
||||
#
|
||||
# Might break future updates; you have been warned.
|
||||
# SEE NOTES AT TOP OF scripts/calibre-install-packages.sh
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# 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
|
||||
apt -y install /opt/iiab/downloads/calibre*.deb
|
||||
#sed -i '$ d' /etc/apt/sources.list.d/rpi-testing.list # Removes last line
|
||||
rm /etc/apt/sources.list.d/rpi-testing.list
|
||||
# Clears the cache of rpi/testing
|
||||
apt update
|
Loading…
Add table
Add a link
Reference in a new issue