mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
20 lines
838 B
Bash
Executable file
20 lines
838 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Thanks to Jerry Vonau (https://github.com/jvonau) who made this critical
|
|
# breakthrough possible!
|
|
#
|
|
# SEE COMMENTS AT THE TOP OF scripts/calibre-install-packages.sh
|
|
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
# Drags in stock desktop dependencies without too much from testing below
|
|
apt -y install dirmngr
|
|
# Prepares to update to latest from debian testing
|
|
apt-key adv --recv-key --keyserver keyserver.ubuntu.com 7638D0442B90D010
|
|
echo "deb http://deb.debian.org/debian testing main" >> /etc/apt/sources.list.d/debian-testing.list
|
|
apt update
|
|
apt -y install libqt5core5a python-lxml calibre calibre-bin
|
|
## Removes last line, safer than: rm /etc/apt/sources.list.d/debian-testing.list
|
|
#sed -i '$ d' /etc/apt/sources.list.d/debian-testing.list
|
|
rm /etc/apt/sources.list.d/debian-testing.list
|
|
# Clears the cache of testing
|
|
apt update
|