annahri you don't actually have to do that in Solus. What I mean is when you execute sudo eopkg it --reinstall <package>
it executes the post scripts automatically. In the case they don't run (some error or something else) then you can run what @Justin suggested, so in a way it is the answer to what you asked.