Background
When I use n3dr, it looks by default in the home folder for a .n3dr.yaml
file. When a snap package is created, the tool complains that it cannot find the file. It turned out that snap has an other definition regarding $HOME
.
$HOME
on linux:
~/user, i.e. /home/user
snap:
INFO[0000] Home folder: '/home/user/snap/n3dr/x1'
Aim
To prevent that users have to create a n3dr.yaml
file in another home directory, the question is whether it is possible to overwrite the Snap's $HOME
variable to ensure that it is identical to the Linux' $HOME
default.
How to align this? I.e.:
INFO[0000] Home folder: '/home/user'
instead of:
INFO[0000] Home folder: '/home/user/snap/n3dr/x1'