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

snapshots only for updates #57

Open
ansarimohammed422 opened this issue Jun 14, 2024 · 1 comment
Open

snapshots only for updates #57

ansarimohammed422 opened this issue Jun 14, 2024 · 1 comment

Comments

@ansarimohammed422
Copy link

is i have installed this script and it set so that snapper is creating snapshots after every transactions of pacman like it is creating for installation also and removal also

but i want it to take snapshots only when i update thhrough pacman -Syu and not take snapshots whan i installl or remove something

so how can i achieve that

@bkmo
Copy link

bkmo commented Jun 15, 2024

You need to edit /usr/share/libalpm/hooks/05-snap-pac-pre.hook and zz-snap-pac-post.hook and remove
Operation = Install and Operation = Remove from the triggers section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants