summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/db.sh3
-rw-r--r--lib/dir.sh3
-rw-r--r--lib/garbage.sh3
-rw-r--r--lib/include.sh3
-rw-r--r--lib/index.sh3
-rw-r--r--lib/remove.sh3
-rw-r--r--lib/suite.sh3
7 files changed, 21 insertions, 0 deletions
diff --git a/lib/db.sh b/lib/db.sh
index 94c5837..6dc15fa 100644
--- a/lib/db.sh
+++ b/lib/db.sh
@@ -17,6 +17,9 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+[ "x${_DB_SM+set}" = 'xset' ] && return 0
+_DB_SM=1
+
use dir
#
diff --git a/lib/dir.sh b/lib/dir.sh
index b72d786..0b866c0 100644
--- a/lib/dir.sh
+++ b/lib/dir.sh
@@ -17,6 +17,9 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+[ "x${_DIR_SM+set}" = 'xset' ] && return 0
+_DIR_SM=1
+
hash_name()
{
local name="${1}"
diff --git a/lib/garbage.sh b/lib/garbage.sh
index d5e35cd..d78c530 100644
--- a/lib/garbage.sh
+++ b/lib/garbage.sh
@@ -17,6 +17,9 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+[ "x${_GARBAGE_SM+set}" = 'xset' ] && return 0
+_GARBAGE_SM=1
+
use dir
collect_garbage()
diff --git a/lib/include.sh b/lib/include.sh
index dab9e71..74ebcb9 100644
--- a/lib/include.sh
+++ b/lib/include.sh
@@ -17,6 +17,9 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+[ "x${_INCLUDE_SM+set}" = 'xset' ] && return 0
+_INCLUDE_SM=1
+
use control
use db
use locale
diff --git a/lib/index.sh b/lib/index.sh
index 3b3087f..4ff674c 100644
--- a/lib/index.sh
+++ b/lib/index.sh
@@ -17,6 +17,9 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+[ "x${_INDEX_SM+set}" = 'xset' ] && return 0
+_INDEX_SM=1
+
use dir
feed_add_package()
diff --git a/lib/remove.sh b/lib/remove.sh
index ce25ead..25687b4 100644
--- a/lib/remove.sh
+++ b/lib/remove.sh
@@ -17,6 +17,9 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+[ "x${_REMOVE_SM+set}" = 'xset' ] && return 0
+_REMOVE_SM=1
+
use db
remove_source_from_suite()
diff --git a/lib/suite.sh b/lib/suite.sh
index 1408c14..9a55809 100644
--- a/lib/suite.sh
+++ b/lib/suite.sh
@@ -17,6 +17,9 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+[ "x${_SUITE_SM+set}" = 'xset' ] && return 0
+_SUITE_SM=1
+
use db
use dir
use remove