]> git.ipfire.org Git - pakfire.git/commit
UI: Move confirm callback into the CLI client
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 9 Nov 2022 10:01:34 +0000 (10:01 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 9 Nov 2022 10:01:34 +0000 (10:01 +0000)
commit142d34c4f8003d1887f56d3acd3236633ee3e760
tree23fa56f97cf08e218096117d90fd9b71b7f9600c
parenteb3e6c00162cb59fbc3c00934b1361b4b447a2ad
UI: Move confirm callback into the CLI client

This way, we do not have to know whether we are running in some sort of
interactive mode, but simply call the callback, or continue if no
callback has been configured.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/_pakfire/pakfire.c
src/libpakfire/include/pakfire/transaction.h
src/libpakfire/pakfire.c
src/libpakfire/transaction.c
src/scripts/pakfire.in