From de6846447371adc778291ea1361b7e9113e544ab Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 4 Sep 2019 23:15:54 +0200 Subject: disabling scheduled pacman offline update... ... in libalpm hook on pacman transaction. --- hook/99-pacman-offline.hook | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 hook/99-pacman-offline.hook (limited to 'hook') 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 -- cgit v1.2.3-70-g09d2