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

[mastodoncomments] Installation instructions fail if files/ doesn't exist #451

Open
mtorpey opened this issue Nov 20, 2024 · 0 comments
Open

Comments

@mtorpey
Copy link

mtorpey commented Nov 20, 2024

The line

You need to copy the folder $BLOG_ROOT/plugins/mastodoncomments/files/assets to $BLOG_ROOT/files/assets

is followed by

cp -a plugins/mastodoncomments/files/assets files/

which looks correct, but gets confused if files/ doesn't exist yet (as in my case). In that case we need to create files/ first. Something like:

[ -d "files" ] || mkdir files
cp -a plugins/mastodoncomments/files/assets files/

should do it, or else text telling the user to make sure files/ exists.

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

1 participant