Skip to content

Commit

Permalink
fix build --ask no issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sulincix committed Apr 20, 2024
1 parent b789264 commit 9dac98a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/util/build.vala
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,9 @@ public class builder {
}
if (need_install.length > 0) {
if (get_bool("install")) {
install_main(need_install);
if(install_main(need_install) ! = 0){
error_add(_("Packages build canceled."));
};
} else {
error_add(_("Packages is not installed: %s").printf(join(" ", need_install)));
}
Expand Down

0 comments on commit 9dac98a

Please sign in to comment.