kisslinux / kiss

KISS Linux - Package Manager
https://kisslinux.github.io
MIT License
464 stars 62 forks source link

Hook for Ctrl+C #280

Closed ioraff closed 3 years ago

ioraff commented 3 years ago

I gather that build-fail only runs for SIGHUP as it's called via ||. It would be nice to either have it (or a new hook type) be called by SIGINT, too, so it runs on Ctrl+C. Thanks.

dylanaraps commented 3 years ago

Implementing this helped me uncover a bug in pkg_clean where the call order is wrong (in reverse). Will fix this bug and then push the hooks and fix.