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

setup fails on mkdir -p #81

Open
AceCodePt opened this issue Dec 5, 2024 · 1 comment
Open

setup fails on mkdir -p #81

AceCodePt opened this issue Dec 5, 2024 · 1 comment

Comments

@AceCodePt
Copy link

The error:

mkdir: cannot create directory ‘/home/sagi/bin’: File exists

Failed in file setup on line 52

mkdir -p $SYSTEMD_USER_DIR # this will get chowned by the recursive call triggered next
create_and_chown $SYSTEMD_DATA_DIR $XDG_DATA_HOME

Note I'm using stow and mkdir might not work with symlink maybe...

@wheaney
Copy link
Owner

wheaney commented Dec 5, 2024

There was a bug in previous versions of the setup that would cause a bin file to get created rather than a bin directory. To get setup to work, you just need to rm ~/bin, maybe with sudo.

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

No branches or pull requests

2 participants