Sure: https://github.com/versusvoid/archlinux-kernels-backup/blob/master/usr/bin/restore-kernel#L98
If I can get version of removed kernel, then I don't need to search for new backup through all the directories, or: https://github.com/versusvoid/archlinux-kernels-backup/blob/master/usr/bin/backup-kernel#L11 manually parse package version. >Понедельник, 5 сентября 2016, 10:45 +03:00 от Allan McRae ><[email protected]>: > >On 05/09/16 03:44, Sergey Petrenko via pacman-dev wrote: >> I'm writing hooks to solve infamous kernel problem. Having version in hook >> isn't necessary, >> but will save me lot of work (and lot of time at each hook run). >> > >Can you post an example hook with what your are trying to achieve. > >Allan -- With wish of constant improvement and unstoppable creativity. Sergey Petrenko
