summarylogtreecommitdiffstats
path: root/memtest86-efi-remove.hook
diff options
context:
space:
mode:
authorXorg2017-01-03 07:19:40 +0100
committerXorg2017-01-03 07:22:43 +0100
commit163416d7d18464c7ae4c9da71a1314a5411621bb (patch)
treeb48eea575808e9d5cd7bb0303fa6e428582a0792 /memtest86-efi-remove.hook
parent4c7b1f6eec81b73ea13dccd84b49066fcf91ab88 (diff)
downloadaur-163416d7d18464c7ae4c9da71a1314a5411621bb.tar.gz
Add Pacman hooks
Diffstat (limited to 'memtest86-efi-remove.hook')
-rw-r--r--memtest86-efi-remove.hook10
1 files changed, 10 insertions, 0 deletions
diff --git a/memtest86-efi-remove.hook b/memtest86-efi-remove.hook
new file mode 100644
index 000000000000..4bffe030e7ce
--- /dev/null
+++ b/memtest86-efi-remove.hook
@@ -0,0 +1,10 @@
+[Trigger]
+Operation = Remove
+Type = File
+Target = /usr/share/$pkgname/bootia32.efi
+Target = /usr/share/$pkgname/bootx64.efi
+
+[Action]
+Description = Removing MemTest86 EFI from ESP
+When = PostTransaction
+Exec = /usr/bin/memtest86-efi --remove