{"action":"created","issue":{"url":"https://api.github.com/repos/minetest/minetest/issues/3597","repository_url":"https://api.github.com/repos/minetest/minetest","labels_url":"https://api.github.com/repos/minetest/minetest/issues/3597/labels{/name}","comments_url":"https://api.github.com/repos/minetest/minetest/issues/3597/comments","events_url":"https://api.github.com/repos/minetest/minetest/issues/3597/events","html_url":"https://github.com/minetest/minetest/issues/3597","id":128027736,"number":3597,"title":"Why is not /usr/share/minetest/mods recognized on Linux?","user":{"login":"shellkr","id":837668,"avatar_url":"https://avatars2.githubusercontent.com/u/837668?v=3","gravatar_id":"","url":"https://api.github.com/users/shellkr","html_url":"https://github.com/shellkr","followers_url":"https://api.github.com/users/shellkr/followers","following_url":"https://api.github.com/users/shellkr/following{/other_user}","gists_url":"https://api.github.com/users/shellkr/gists{/gist_id}","starred_url":"https://api.github.com/users/shellkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shellkr/subscriptions","organizations_url":"https://api.github.com/users/shellkr/orgs","repos_url":"https://api.github.com/users/shellkr/repos","events_url":"https://api.github.com/users/shellkr/events{/privacy}","received_events_url":"https://api.github.com/users/shellkr/received_events","type":"User","site_admin":false},"labels":[{"id":73368983,"url":"https://api.github.com/repos/minetest/minetest/labels/@%20Script%20API","name":"@ Script API","color":"009800","default":false},{"id":326449746,"url":"https://api.github.com/repos/minetest/minetest/labels/Downstream%20issue","name":"Downstream issue","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-01-21T21:50:16Z","updated_at":"2017-05-11T22:30:09Z","closed_at":null,"body":"I have an issue I don't know how to solve. I am making packages for a couple of mods on Arch Linux so they are easy to install. I install them to the default directory /usr/share/minetest/mods but it is like they are not recognized. I then move them to ~/.minetest/mods and it works. The home folder is not a global directory on Linux but a per user directory and it should thus not be treated like one.\n\nWhy are /usr/share/minetest/mods not recognized?\n\nThe problem when making a package is that you cannot install them directly to ~/.minetest/mods without breaking standards. I have to add post install instructions that inform the user to manually move the mod folders to ~/.minetest/mods directory. That is not a clean way to do it and completely unnecessary.\n"},"comment":{"url":"https://api.github.com/repos/minetest/minetest/issues/comments/300934439","html_url":"https://github.com/minetest/minetest/issues/3597#issuecomment-300934439","issue_url":"https://api.github.com/repos/minetest/minetest/issues/3597","id":300934439,"user":{"login":"shellkr","id":837668,"avatar_url":"https://avatars2.githubusercontent.com/u/837668?v=3","gravatar_id":"","url":"https://api.github.com/users/shellkr","html_url":"https://github.com/shellkr","followers_url":"https://api.github.com/users/shellkr/followers","following_url":"https://api.github.com/users/shellkr/following{/other_user}","gists_url":"https://api.github.com/users/shellkr/gists{/gist_id}","starred_url":"https://api.github.com/users/shellkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shellkr/subscriptions","organizations_url":"https://api.github.com/users/shellkr/orgs","repos_url":"https://api.github.com/users/shellkr/repos","events_url":"https://api.github.com/users/shellkr/events{/privacy}","received_events_url":"https://api.github.com/users/shellkr/received_events","type":"User","site_admin":false},"created_at":"2017-05-11T22:30:09Z","updated_at":"2017-05-11T22:30:09Z","body":"@Rencer The $HOME is not a place where you install packages... The standard is to put them in /usr. It is done the same in other distros. I think they all patch it. In Arch you often keep the software default so that it turns out as the creator have intended. Which means the patch has to be applied post-install when you install a mod. It is a hook for the package manager and should be reapplied every time you install/update Minetest via pacman. I know Manjaro forked pacman and don't know their current status if they support hooks. \r\n\r\nI am the creator of that usrdir_patch package and most of the mods.. so I am interested to help where I can."}}
{"actor":{"display_login":"shellkr"}}