Commit 1388a774 authored by Baptiste Daroussin's avatar Baptiste Daroussin
Browse files

Only check deinstall scripts in case developer is set

parent af83d3f6
......@@ -95,7 +95,7 @@ pkg_delete(struct pkg *pkg, struct pkgdb *db, unsigned flags)
return (ret);
} else {
ret = pkg_script_run(pkg, PKG_SCRIPT_PRE_DEINSTALL);
if (ret != EPKG_OK)
if (ret != EPKG_OK && pkg_object_bool(pkg_config_get("DEVELOPER_MODE")))
return (ret);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment