Skip to content

Commit

Permalink
create home folder before first usage
Browse files Browse the repository at this point in the history
  • Loading branch information
hsoerensen committed Aug 8, 2024
1 parent 743bbfa commit 0b3aae6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,8 @@ fi
}

clone_environment_settings_to_profile() {
mkdir -p "${voi_home}"

local var
for var in $(env); do
if [[ $var == VOINETWORK_* && $var != VOINETWORK_PROFILE=* && $var != VOINETWORK_IMPORT_ACCOUNT=* ]]; then
Expand Down Expand Up @@ -860,8 +862,6 @@ check_minimum_requirements() {
}

set_profile() {
mkdir -p "${voi_home}"

if [[ -f "${voi_home}/.profile" ]]; then
source "${voi_home}/.profile"
else
Expand Down

0 comments on commit 0b3aae6

Please sign in to comment.