👷 add pacman keys refresh

This commit is contained in:
Vladislav Nepogodin 2022-02-21 03:37:27 +04:00
parent d33514c67e
commit d8ba5238e6
No known key found for this signature in database
GPG Key ID: B62C3D10C54D5DA9
2 changed files with 8 additions and 2 deletions

View File

@ -85,7 +85,7 @@ Main Menu
| | ├── Edit Pacman Mirror Configuration
| | └── Rank Mirrors by Speed
| |
│ └── Refresh Pacman Keys (TODO)
│ └── Refresh Pacman Keys
|
├── Install System
│ ├── Install Base Packages

View File

@ -2216,9 +2216,15 @@ void prep_menu() noexcept {
case 4:
case 6:
case 8:
case 9:
SPDLOG_ERROR("Implement me!");
break;
case 9:
#ifdef NDEVENV
utils::arch_chroot("pacman-key --init;pacman-key --populate archlinux cachyos;pacman-key --refresh-keys;");
#else
SPDLOG_DEBUG("({}) Function is doing nothing in dev environment!", __PRETTY_FUNCTION__);
#endif
break;
case 10:
tui::set_cache();
break;