Closed 14mRh4X0r closed 4 years ago
Cheers man! This is a change I wanted to do myself, but found no time to. I'll push it into my code ASAP!
No problem. Came up with it while trying to package version 1.9, but took a while to get around to. You might want to check whether the manpage suffices, it's rather terse and uses shell syntax.
I've merged the changes to my master branch. The manpage should refer to "XDG_CACHE_HOME", not "XDG_CACHE_DIR" and I'll add a hint to the $HOME/.cache/ffmpegfs fallback, but it's fine so far. I'll also have the directory removed on "make uninstall" via uninstall hook.
Thank's for your contribution!
Commit 769dddd moved ffmpegfs' cache directory from /tmp to /var/cache. The latter requires setting proper ownership and permissions for users to use ffmpegfs.
This pull request moves the (default location of the) cache to the user-specific
$XDG_CACHE_HOME
, with a fallback to~/.cache
, as specified by the XDG Base Directory Specification.