Prevent variable expansion when updating the users's ~/.profile.  Also check for existence of ~/.config before creating it.
Prevent variable expansion when updating the users's ~/.profile.  Also check for existence of ~/.config before creating it.

rsiddall/bbb-install