aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/recipes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/recipes.c b/src/recipes.c
index 7bf6293..b722cf8 100644
--- a/src/recipes.c
+++ b/src/recipes.c
@@ -123,10 +123,10 @@ bool pkg_build(package_t *pkg) {
bool pkg_install(package_t *pkg) {
if (is_pkg_installed(pkg) && !flags.force) return true;
try_pkg_fn(pkg_fetch_sources, pkg, "fetch", 'f');
- if (!pkg_enter(pkg)) return false;
- pkg_setup(pkg);
+ //if (!pkg_enter(pkg)) return false;
+ if (!pkg_setup(pkg)) printf("setup failed");
//try_pkg_fn(pkg_hook_setup, pkg, "setup", 's');
- pkg_build(pkg);
+ if (!pkg_build(pkg)) printf("build failed");
//try_pkg_fn(pkg_hook_build, pkg, "build", 'b');
printf("test\n");
try_pkg_fn(pkg_hook_install, pkg, "install", 'i');