feat: Add lib.sh
This commit is contained in:
parent
c37803236f
commit
63af638018
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"
|
Loading…
Reference in New Issue
Block a user