diff options
author | ivan tkachenko | 2020-12-11 06:33:52 +0300 |
---|---|---|
committer | ivan tkachenko | 2020-12-11 06:33:52 +0300 |
commit | 141a2fb62542d1a301df8461e3eb442a1c5db4b3 (patch) | |
tree | 38e65fb119be0983d7939529efb3dff40d97d805 /symlink-latest-kernel.hook | |
download | aur-symlink-latest-kernel.tar.gz |
ready to release 1.0-1
AUR is picky about commit contents, so everything had to be squashed
down into one big commit which initially contains valid PKGBUILD and
.SRCINFO files.
Lost git history:
* initial commit
* refactor: remove unnecessary `cd`
* add pacman install/remove scripts
* add .gitignore
* add GPLv2 license
* add readme
* sneak: 100
* add .SRCINFO
* add Makefile to automate pre-publish tasks
Diffstat (limited to 'symlink-latest-kernel.hook')
-rw-r--r-- | symlink-latest-kernel.hook | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/symlink-latest-kernel.hook b/symlink-latest-kernel.hook new file mode 100644 index 000000000000..f53f3a04e962 --- /dev/null +++ b/symlink-latest-kernel.hook @@ -0,0 +1,12 @@ +[Trigger] +Type = Path +Operation = Install +Operation = Upgrade +Operation = Remove +Target = usr/lib/modules/*/ +Target = !usr/lib/modules/*/?* + +[Action] +Description = Symlinking latest kernel... +When = PostTransaction +Exec = /usr/share/libalpm/scripts/symlink-latest-kernel |