From 45e8fd75c621899365406141d9b9fe0aab0183e0 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 16 Jan 2021 05:20:21 -0500 Subject: profile_prepare_install(): New function profile_installer_type() will be the first caller of _prof_proteanos_get_platforms() to be called, but it will be called in a subshell. As a result, _prof_proteanos_get_platforms() would be called twice. To solve this, factor out _prof_proteanos_get_platforms() calls from other functions, making them pure (subshell-safe). --- (limited to 'src/vardata.sh') -- cgit v0.9.1