Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module feature idea: removing files in files module #247

Open
noahdotpy opened this issue Jun 2, 2024 · 0 comments
Open

module feature idea: removing files in files module #247

noahdotpy opened this issue Jun 2, 2024 · 0 comments
Labels
priority: low Might be supported or done in the future, but won't be prioritised type: discussion Questions, proposals and info that requires discussion. type: fix Iterations on existing features or infrastructure.

Comments

@noahdotpy
Copy link
Contributor

noahdotpy commented Jun 2, 2024

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
@xynydev xynydev added type: discussion Questions, proposals and info that requires discussion. type: fix Iterations on existing features or infrastructure. priority: low Might be supported or done in the future, but won't be prioritised labels Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: low Might be supported or done in the future, but won't be prioritised type: discussion Questions, proposals and info that requires discussion. type: fix Iterations on existing features or infrastructure.
Projects
None yet
Development

No branches or pull requests

2 participants