From b325eab2d6b0ae3382dec6fa498214cfb3429f56 Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Sun, 19 Nov 2017 14:44:52 -0600 Subject: [PATCH] remove echos and add notes --- scripts/calibre312.sh | 29 +++++++++++------------------ 1 file changed, 11 insertions(+), 18 deletions(-) diff --git a/scripts/calibre312.sh b/scripts/calibre312.sh index 91c9efc60..8d471dea3 100755 --- a/scripts/calibre312.sh +++ b/scripts/calibre312.sh @@ -1,27 +1,20 @@ #!/bin/bash -echo "install stock calibre-bin" -apt-get -y install calibre-bin dirmngr +export DEBIAN_FRONTEND=noninteractive +# drags in stock desktop dependencies without too much from testing below +apt -y install calibre-bin dirmngr -echo "installing debian key" +# updates calibre-bin to version 3.10 from testing apt-key adv --recv-key --keyserver keyserver.ubuntu.com 7638D0442B90D010 - -echo "enabling testing" echo "deb http://deb.debian.org/debian testing main" > /etc/apt/sources.list.d/debian-testing.list -apt-get update - -echo "updating dependencies" -apt-get -y install libqt5core5a python-lxml +apt update +apt -y install libqt5core5a python-lxml rm /etc/apt/sources.list.d/debian-testing.list -echo "enabling unstable" +# updates to calibre & calibre-bin to 3.12 from unstable echo "deb http://deb.debian.org/debian unstable main" > /etc/apt/sources.list.d/debian-unstable.list -apt-get update - -echo "installing calibre 3.12" -apt-get -y install calibre +apt update +apt -y install calibre rm /etc/apt/sources.list.d/debian-unstable.list -echo "disabled testing and unstable repos" -apt-get update - -echo "DONE" +# clears the cache of testing and unstable +apt update