mirror of
https://github.com/termux/termux-packages.git
synced 2025-05-10 18:35:41 +00:00
`aptitude`'s unique functionality is a TUI alternative to `apt`. It hardcodes the belief that you must be root to change packages, and attempting to make any changes prompts you to become root, which obviously won't work for most users. I didn't try, but if it did work, it would obviously do something bad. Its `apt`-alike non-interactive use (`aptitude install`, etc) appears to work fine without root, but looks to be basically identical to `apt` proper.
14 lines
474 B
Diff
14 lines
474 B
Diff
--- a/src/ui.cc
|
|
+++ b/src/ui.cc
|
|
@@ -694,8 +694,8 @@
|
|
{
|
|
really_quit_active = true;
|
|
prompt_yesno(_("Really quit Aptitude?"), false,
|
|
- cw::util::arg(sigc::bind(ptr_fun(do_really_quit_answer), true)),
|
|
- cw::util::arg(sigc::bind(ptr_fun(do_really_quit_answer), false)));
|
|
+ cw::util::arg(sigc::bind(sigc::ptr_fun(do_really_quit_answer), true)),
|
|
+ cw::util::arg(sigc::bind(sigc::ptr_fun(do_really_quit_answer), false)));
|
|
}
|
|
}
|
|
else
|