Do some cleanup and fixes
This commit is contained in:
		
							parent
							
								
									6c16a85be2
								
							
						
					
					
						commit
						028d3d7760
					
				
					 6 changed files with 5 additions and 17 deletions
				
			
		| 
						 | 
				
			
			@ -1,8 +1,10 @@
 | 
			
		|||
#!/usr/bin/env sh
 | 
			
		||||
 | 
			
		||||
base_path="$HOME/.cache/remote-sources"
 | 
			
		||||
mkdir -p "$base_path"
 | 
			
		||||
file_path="$base_path/$2"
 | 
			
		||||
 | 
			
		||||
autoinstall file "$1" "$file_path"
 | 
			
		||||
mkdir -p "$base_path"
 | 
			
		||||
if [ ! -f "$file_path" ]
 | 
			
		||||
then
 | 
			
		||||
	echo "Installing file $2"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue