module feature idea: removing files in files module
Opened this issue · 0 comments
noahdotpy commented
This is something I actually use in my own custom modules that overrides the other files module. I have the code for it and will post the relevant sections and a link to the file.
In line 36 starts the logic for removing files from a list named RMV_FILES. I may attempt to merge this with the current official files module
Permalink to current custom module: https://github.com/noahdotpy/myublue/blob/dc44653fa141b133c352514b2bc80f8f9af4d3e5/modules/files/files.sh
Example Configuration
type: files
add:
- usr: /usr
remove:
# remove script that automatically creates ~/.justfile
- /etc/profile.d/ublue-os-just.sh