From 63af638018680dba5ac9030a1238bcebf1b8155f Mon Sep 17 00:00:00 2001 From: ge Date: Thu, 19 May 2022 08:41:15 +0300 Subject: [PATCH] feat: Add lib.sh --- src/lib/lib.sh | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/lib/lib.sh diff --git a/src/lib/lib.sh b/src/lib/lib.sh new file mode 100644 index 0000000..4630f0e --- /dev/null +++ b/src/lib/lib.sh @@ -0,0 +1,26 @@ +#!/usr/bin/env bash + +# lib.sh - source scripts. +# Copyright (c) 2022 ge +# +# 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 . + +BBLIBRARY="${BBLIBRARY:-./lib}" + +. "$BBLIBRARY/common.sh" +. "$BBLIBRARY/backup.sh" +. "$BBLIBRARY/source.sh" +. "$BBLIBRARY/uri.sh" +. "$BBLIBRARY/handlers/tar.sh" +. "$BBLIBRARY/handlers/cp.sh"