🚧 fix cmake build

This commit is contained in:
Vladislav Nepogodin 2021-12-30 02:21:48 +04:00
parent cc4d343e2b
commit 09c966b0ff
No known key found for this signature in database
GPG Key ID: B62C3D10C54D5DA9
2 changed files with 4 additions and 0 deletions

View File

@ -96,6 +96,8 @@ add_executable(${PROJECT_NAME}
add_executable(test-exec-interactive
src/config.cpp src/config.hpp
src/utils.cpp src/utils.hpp
src/widgets.cpp src/widgets.hpp
src/follow_process_log.hpp src/follow_process_log.cpp
src/tui.cpp src/tui.hpp
src/main_test.cpp
)

View File

@ -441,9 +441,11 @@ bool handle_connection() noexcept {
}
}
#ifdef NDEVENV
if (connected) {
utils::exec("yes | pacman -Sy --noconfirm", true);
}
#endif
return connected;
}