diff options
Diffstat (limited to 'lib/cmd')
-rw-r--r-- | lib/cmd/install.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/cmd/install.sh b/lib/cmd/install.sh index e3d81c9..982e9b5 100644 --- a/lib/cmd/install.sh +++ b/lib/cmd/install.sh @@ -47,6 +47,14 @@ cmd_install_main() plat="${cmd_install_opt_P}" fi + if [ "x${suite%%:*}" != "x${suite}" ]; then + profile="${suite%%:*}" + suite="${suite#*:}" + else + profile='proteanos' + fi + + printf 'Profile: %s\n' "${profile}" printf 'Suite: %s\n' "${suite}" printf 'Architecture: %s\n' "${arch}" printf 'Platform: %s\n' "${plat}" |