mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	Merge pull request #569 from holta/calibre-fix
Fix calibre_debs_on_debian conditionals
This commit is contained in:
		
						commit
						734548f19e
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -3,12 +3,12 @@
 | 
			
		|||
# RUNS IF /usr/bin/calibre-uninstall DOES NOT ALEADY EXIST
 | 
			
		||||
- name: Install Calibre via calibre-installer.py (OS's other than Raspbian)
 | 
			
		||||
  include_tasks: py-installer.yml
 | 
			
		||||
  when: (not is_rpi) and (not calibre_debs_on_debian)
 | 
			
		||||
  #when: is_redhat or is_ubuntu
 | 
			
		||||
  when: is_redhat or is_ubuntu or (is_debian and not calibre_debs_on_debian)
 | 
			
		||||
  #when: not is_rpi
 | 
			
		||||
 | 
			
		||||
- name: Install Calibre via .debs (Raspbian)
 | 
			
		||||
  include_tasks: debs.yml
 | 
			
		||||
  when: is_rpi or calibre_debs_on_debian
 | 
			
		||||
  when: is_rpi or (is_debian and calibre_debs_on_debian)
 | 
			
		||||
  #when: is_rpi or is_debian     # (is_debian also covers & includes is_rpi)
 | 
			
		||||
 | 
			
		||||
# 2. STOP CALIBRE SERVICE IF IT EXISTS (REQUIRED FOR DB ACTIVITY...AND IF not calibre_enabled)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue