summaryrefslogtreecommitdiffstats
path: root/hook/99-pacman-offline.hook
diff options
context:
space:
mode:
Diffstat (limited to 'hook/99-pacman-offline.hook')
-rw-r--r--hook/99-pacman-offline.hook10
1 files changed, 10 insertions, 0 deletions
diff --git a/hook/99-pacman-offline.hook b/hook/99-pacman-offline.hook
new file mode 100644
index 0000000..5a2573d
--- /dev/null
+++ b/hook/99-pacman-offline.hook
@@ -0,0 +1,10 @@
+[Trigger]
+Operation = Upgrade
+Operation = Remove
+Type = Package
+Target = *
+
+[Action]
+Description = Disabling scheduled pacman offline update...
+When = PostTransaction
+Exec = /usr/bin/rm -f /system-update