summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/profile.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/profile.sh b/lib/profile.sh
index b0c2601..7151f56 100644
--- a/lib/profile.sh
+++ b/lib/profile.sh
@@ -20,8 +20,18 @@
PROFILES=' @profiles@ '
+profiles=' '
profile=
+register_profile()
+{
+ local profile="${1}"
+ shift 1
+
+ profiles="${profiles}${profile} "
+ return 0
+}
+
is_profile()
{
local prof="${1}"