# fix\(setup\): report a clear error when HOME is unset \(\#352\) · lucenx/codexbar-plasma

[View on GitCafe](https://git.cafe/lucenx/codexbar-plasma/commit/d0c1844b87740cf5ed5affc3bfba14808163098e)

Repository: [lucenx/codexbar-plasma](https://git.cafe/lucenx/codexbar-plasma)

Visibility: public

Requested revision: d0c1844b87740cf5ed5affc3bfba14808163098e

Requested commit: d0c1844b87740cf5ed5affc3bfba14808163098e

Commit: d0c1844b87740cf5ed5affc3bfba14808163098e

Tree: 1775e687340cf8ccc68e8ddbb5affecffe7acbe9

Author: Simone

Committer: GitHub

## Message

```
fix(setup): report a clear error when HOME is unset (#352)

Setup stopped on 'HOME: unbound variable' when neither HOME nor
XDG_DATA_HOME was set (or XDG_DATA_HOME was relative without HOME).
Expand HOME defensively like the install lock already does and fail
with the missing data-directory cause instead.

Docs: no guide changes; the setup command, help text, and installer
flow are unchanged, and installer messages stay technical English
outside the QML catalogs. TODO is unaffected (not a parity gap).
```

## Parents

- [d573df8a4e1aa3fa8c119df813c030675269fc99](https://git.cafe/lucenx/codexbar-plasma/commit/d573df8a4e1aa3fa8c119df813c030675269fc99?format=markdown)

[Source at this commit](https://git.cafe/lucenx/codexbar-plasma/tree/d0c1844b87740cf5ed5affc3bfba14808163098e?format=markdown)
