From ccaf5f35904d80cd91490b4a1d854ca38eb63947 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@arch-desktop" Date: Mon, 3 Aug 2020 18:02:05 +0200 Subject: [PATCH] Add pacman hook for borg backup --- borg_backup.hook | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 borg_backup.hook diff --git a/borg_backup.hook b/borg_backup.hook new file mode 100644 index 0000000..f83eaaf --- /dev/null +++ b/borg_backup.hook @@ -0,0 +1,12 @@ +[Trigger] +Operation = Install +Operation = Upgrade +Operation = Remove +Type = Package +Target = * + +[Action] +Description = "Run an update_to_lime2 script before every pacman transaction" +When = PreTransaction +Exec = /bin/sh /home/flyingscorpio/SetupCockpit/arch-desktop_borg.sh +Depends = borg