mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
	
		
			1,020 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
	
		
			1,020 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #!/bin/bash
 | |
| 
 | |
| # Thanks to Jerry Vonau (https://github.com/jvonau) who made this critical
 | |
| # breakthrough possible!
 | |
| #
 | |
| # Calibre 3.25 is the latest available from testing as of 2018-06-10:
 | |
| #
 | |
| #   https://packages.debian.org/search?keywords=calibre
 | |
| #   http://deb.debian.org/debian/pool/main/c/calibre/
 | |
| #   http://raspbian.raspberrypi.org/raspbian/pool/main/c/calibre/
 | |
| #   http://archive.raspbian.org/raspbian/pool/main/c/calibre/
 | |
| #
 | |
| # 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 unstable
 | |
| apt-key adv --recv-key --keyserver keyserver.ubuntu.com 7638D0442B90D010
 | |
| echo "deb http://deb.debian.org/debian unstable main" > /etc/apt/sources.list.d/debian-unstable.list
 | |
| apt update
 | |
| apt -y install calibre calibre-bin
 | |
| #sed -i '$ d' /etc/apt/sources.list.d/debian-unstable.list    # Removes last line
 | |
| rm /etc/apt/sources.list.d/debian-unstable.list
 | |
| # Clears the cache of debian/unstable
 | |
| apt update
 |