Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable usage of KOLIBRI_HOME as relative path "~/.my_home" #100

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

benjaoming
Copy link
Contributor


if [ -e /etc/kolibri/daemon.conf ]
then
. /etc/kolibri/daemon.conf
fi


# It should be possible to use "~/.kolibri" for a relative
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you ellaborate a bit more this sentence?
Why should ~/.kolibri be usable in a config file? I don't think it's a good idea, maybe that would explain the "various" reasons afterwards.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It also ensures that someone who assumes ~/ to work won't have to spend time resolving that it doesn't work :)

Why should ~/.kolibri be usable in a config file?

Isn't it normal for HOME-relative paths to work in config files? Try sudo grep -r "~\/" /etc

@rtibbles rtibbles force-pushed the master branch 4 times, most recently from b6ec929 to 35cdac5 Compare March 4, 2022 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants