aboutsummaryrefslogtreecommitdiffstats
path: root/hook
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2019-09-04 23:15:54 +0200
committerGravatar Christian Hesse <mail@eworm.de>2019-09-04 23:15:54 +0200
commitde6846447371adc778291ea1361b7e9113e544ab (patch)
treefc006e0850676ef238e14672ac6566b84a9f2dad /hook
parent7c25a42cff108b6bbc068461a32896649f59ae57 (diff)
downloadpacman-offline-de6846447371adc778291ea1361b7e9113e544ab.tar.gz
pacman-offline-de6846447371adc778291ea1361b7e9113e544ab.tar.zst
disabling scheduled pacman offline update...
... in libalpm hook on pacman transaction.
Diffstat (limited to '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