Avoid chmod of missing ~/$HOME/$HELLO_FLEET_ID during factory installs#107
Avoid chmod of missing ~/$HOME/$HELLO_FLEET_ID during factory installs#107hello-jkoubi wants to merge 1 commit intomasterfrom
Conversation
|
Shouldn't the user place that folder in the $HOME directory before running this script anyway? In other words, should the script fail if the robot folder is not present in the $HOME directory, instead of moving the chmod? |
|
Yes from the instructions the user should place that folder in |
|
Another thing that i would like to mention is that originally the calibration files are under |
Factory installs (-f) skip the local calibration directory check but still attempted to
chmod $HOME/$HELLO_FLEET_ID, causing installs to fail when the directory is not present.This change moves the chmod into the non-factory path, where the directory is required, and avoids touching the home-folder calibration path during factory installs.