mirror of
https://github.com/CachyOS/New-Cli-Installer.git
synced 2025-01-23 14:32:22 +08:00
👷 add pacman keys refresh
This commit is contained in:
parent
d33514c67e
commit
d8ba5238e6
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user