Andrew Gregory <andrew.gregor...@gmail.com> on Fri, 2022/12/02 20:59: > If anybody's interested, I've been playing around with more complex hook > setups and wrote a hook/script to track the pacman process during > transactions and inhibit shutdown.[0] This technique could be used for > hooks with pre and post transaction components that need need tighter > coupling than separate hooks allow or to setup post transaction hooks that > are guaranteed to run even if the transaction fails, unlike our current > implementation of PostTransaction hooks. > > [0]: > https://github.com/andrewgregory/pachooks/blob/a15e08d7321f17aae2431bddc1e9bbf151f9b26c/scripts/inhibit
Currently I have an alias that calls pacman with systemd-inhibit... But this looks a lot better. :) Will give it a try now. Is this packaged anywhere? -- main(a){char*c=/* Schoene Gruesse */"B?IJj;MEH" "CX:;",b;for(a/* Best regards my address: */=0;b=c[a++];) putchar(b-1/(/* Chris cc -ox -xc - && ./x */b/42*2-3)*42);}
pgp1w7JWrbpvi.pgp
Description: OpenPGP digital signature