feat: Add lib.sh
This commit is contained in:
		
							
								
								
									
										26
									
								
								src/lib/lib.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								src/lib/lib.sh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,26 @@
 | 
			
		||||
#!/usr/bin/env bash
 | 
			
		||||
 | 
			
		||||
# lib.sh - source scripts.
 | 
			
		||||
# Copyright (c) 2022 ge <https://nixhacks.net/>
 | 
			
		||||
#
 | 
			
		||||
# This program is free software: you can redistribute it and/or modify
 | 
			
		||||
# it under the terms of the GNU General Public License as published by
 | 
			
		||||
# the Free Software Foundation, either version 3 of the License, or
 | 
			
		||||
# (at your option) any later version.
 | 
			
		||||
#
 | 
			
		||||
# This program is distributed in the hope that it will be useful,
 | 
			
		||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
			
		||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
			
		||||
# GNU General Public License for more details.
 | 
			
		||||
#
 | 
			
		||||
# You should have received a copy of the GNU General Public License
 | 
			
		||||
# along with this program.  If not, see <https://www.gnu.org/licenses/>.
 | 
			
		||||
 | 
			
		||||
BBLIBRARY="${BBLIBRARY:-./lib}"
 | 
			
		||||
 | 
			
		||||
. "$BBLIBRARY/common.sh"
 | 
			
		||||
. "$BBLIBRARY/backup.sh"
 | 
			
		||||
. "$BBLIBRARY/source.sh"
 | 
			
		||||
. "$BBLIBRARY/uri.sh"
 | 
			
		||||
. "$BBLIBRARY/handlers/tar.sh"
 | 
			
		||||
. "$BBLIBRARY/handlers/cp.sh"
 | 
			
		||||
		Reference in New Issue
	
	Block a user