mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	Untar with '--strip-components=1' to chop tarball's top-level dir from path
This commit is contained in:
		
							parent
							
								
									7e86d5e582
								
							
						
					
					
						commit
						c1d0bd03dd
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -44,7 +44,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# 2. INSTALL KIWIX-TOOLS EXECUTABLES
 | 
					# 2. INSTALL KIWIX-TOOLS EXECUTABLES
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: Unarchive {{ kiwix_dl.dest }} to {{ kiwix_path }}/bin -- use '--strip-components=1' to remove tarball's top-level dir during unpacking
 | 
					- name: Unarchive {{ kiwix_dl.dest }} to {{ kiwix_path }}/bin -- untar with '--strip-components=1' to chop tarball's top-level dir from path
 | 
				
			||||||
  unarchive:
 | 
					  unarchive:
 | 
				
			||||||
    src: "{{ kiwix_dl.dest }}"    # See ~28 lines above, e.g. /opt/iiab/downloads/kiwix-tools_linux-x86_64-3.3.0-1.tar.gz
 | 
					    src: "{{ kiwix_dl.dest }}"    # See ~28 lines above, e.g. /opt/iiab/downloads/kiwix-tools_linux-x86_64-3.3.0-1.tar.gz
 | 
				
			||||||
    dest: "{{ kiwix_path }}/bin"    # /opt/iiab/kiwix/bin
 | 
					    dest: "{{ kiwix_path }}/bin"    # /opt/iiab/kiwix/bin
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue