From 81a26f31df7699ebf382290e9680ff9668950280 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 06 Dec 2015 23:20:25 -0500 Subject: register_profile(): New function --- (limited to 'lib') 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}" -- cgit v0.9.1