feat: update depot version to 0.17.0 and enhance Python build/install commands

This commit is contained in:
2026-03-11 01:02:36 -05:00
parent aff2c68ce5
commit f72b6c46de
9 changed files with 236 additions and 29 deletions
+2 -2
View File
@@ -15,12 +15,12 @@ pub fn is_root() -> bool {
pub fn wrap_install_command(program: &str, destdir: &Path) -> Command {
let script_path = shell_script_path(program);
if is_root() {
build_command(program, script_path.as_deref())
build_command(program, script_path)
} else {
// Use system fakeroot command which handles LD_PRELOAD internally
let mut cmd = Command::new("fakeroot");
cmd.arg("--");
if let Some(script_path) = script_path.as_deref() {
if let Some(script_path) = script_path {
cmd.arg("sh");
cmd.arg(script_path);
} else {