diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/profile.sh | 10 |
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}" |