You are not logged in.
I'm making a package that performs various configuration tasks.
I want to add a custom repo in pacman.conf. in the post_install(), and remove the same in post_remove() of the *.install file.
E.g. sudo provide the "drop-in" file method to make these things really easy.
"sudo parses files contained in the directory /etc/sudoers.d/. This means that instead of editing /etc/sudoers, you can change settings in standalone files and drop them in that directory. "
Is there a similar feature available for pacman.conf? I can't find any documentation that suggest it is..
Last edited by raspine (2016-04-22 06:50:44)
Offline
Offline
As far as I can tell, adding an Include directive to pacman.conf should do it; you have to do that for sudo as well IIRC.
For instance:
...
Include = /etc/pacman.d/*.conf
(you will, of course, actually have to add a file into /etc/pacman.d/ to make this work)
Last edited by pypi (2016-04-22 19:36:38)
Offline