diff options
Diffstat (limited to 'makeuki.install')
-rw-r--r-- | makeuki.install | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/makeuki.install b/makeuki.install new file mode 100644 index 000000000000..5c0508e06840 --- /dev/null +++ b/makeuki.install @@ -0,0 +1,8 @@ +pre_install() { + mkdir /etc/mkinitcpio.d/old + mv -vf /etc/mkinitcpio.d/*.preset /etc/mkinitcpio.d/old +} +post_remove() { + mv -vf /etc/mkinitcpio.d/old/* /etc/mkinitcpio.d/ + rm -rf /etc/mkinitcpio.d/old +} |