Actually, I think there's need for both.
Having the possibility to put stuff in /etc/pastebin.d/ still makes sense for local pastebins (company internal ones) and add support for yet unsupported upstream ones.
Though I agree that the code should be updated to look in both /usr/share/pastebin.d/ and /etc/pastebin.d/. In case a definition is in both, it should prioritize the one in /etc/pastebin.d/
Actually, I think there's need for both.
Having the possibility to put stuff in /etc/pastebin.d/ still makes sense for local pastebins (company internal ones) and add support for yet unsupported upstream ones.
Though I agree that the code should be updated to look in both /usr/share/ pastebin. d/ and /etc/pastebin.d/. In case a definition is in both, it should prioritize the one in /etc/pastebin.d/