diff --git a/etc/pacman.d/hooks/lsb-release.hook b/etc/pacman.d/hooks/lsb-release.hook new file mode 100644 index 0000000..7927f4f --- /dev/null +++ b/etc/pacman.d/hooks/lsb-release.hook @@ -0,0 +1,10 @@ +[Trigger] +Operation = Install +Operation = Upgrade +Type = Package +Target = lsb-release + +[Action] +Description = Add Snigdha OS specific config +When = PostTransaction +Exec = /bin/sh -c "/usr/local/bin/snigdhaos-lsb-release" diff --git a/etc/pacman.d/hooks/os-release.hook b/etc/pacman.d/hooks/os-release.hook new file mode 100644 index 0000000..1076fd9 --- /dev/null +++ b/etc/pacman.d/hooks/os-release.hook @@ -0,0 +1,10 @@ +[Trigger] +Operation = Install +Operation = Upgrade +Type = Package +Target = filesystem + +[Action] +Description = Add Snigdha OS specific config +When = PostTransaction +Exec = /bin/sh -c "/usr/local/bin/snigdhaos-os-release" diff --git a/etc/pacman.d/hooks/reboot-important-updates.hook b/etc/pacman.d/hooks/reboot-important-updates.hook new file mode 100644 index 0000000..3c19fdc --- /dev/null +++ b/etc/pacman.d/hooks/reboot-important-updates.hook @@ -0,0 +1,13 @@ +[Trigger] +Operation = Upgrade +Operation = Install +Operation = Remove +Type = Package +Target = linux* +Target = systemd* +Target = nvidia* + +[Action] +Description = #### Important Linux packages have changed. Reboot is recommended. #### +When = PostTransaction +Exec = /usr/bin/true