add an installer script
This commit is contained in:
		
							parent
							
								
									3e44f0378e
								
							
						
					
					
						commit
						9cad43ae99
					
				
							
								
								
									
										10
									
								
								install.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										10
									
								
								install.sh
									
									
									
									
									
										Executable file
									
								
							@ -0,0 +1,10 @@
 | 
				
			|||||||
 | 
					#!/usr/bin/env sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ ! -d "${HOME}/.local/bin" ]; then
 | 
				
			||||||
 | 
					    mkdir -p "${HOME}/.local/bin"
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# -u is 'update only' flag
 | 
				
			||||||
 | 
					cp -u -v ./scripts/* "${HOME}"/.local/bin
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -6,3 +6,4 @@ else
 | 
				
			|||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ansiweather -l $loc -u imperial -s true -i false
 | 
					ansiweather -l $loc -u imperial -s true -i false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user