saving uncommitted changes in /etc prior to dnf run

This commit is contained in:
2021-11-20 02:04:54 +02:00
parent c5801ff161
commit 3f4374a912
17 changed files with 349 additions and 2 deletions

9
kernel/install.d/dkms Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/bash
if [[ "$1" == "add" ]]; then
/etc/kernel/postinst.d/dkms $2
fi
if [[ "$1" == "remove" ]]; then
/etc/kernel/prerm.d/dkms $2
fi