From 27c0abcb9f9d183325ad51a5f297eff4be225572 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 1 Jun 2025 15:38:57 +1200 Subject: [PATCH] 'Generic Commit' --- source/src/commands/install.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/source/src/commands/install.cpp b/source/src/commands/install.cpp index 819241c..4f40ad8 100644 --- a/source/src/commands/install.cpp +++ b/source/src/commands/install.cpp @@ -149,7 +149,13 @@ namespace dropshell // Run install script { info << "Running " << service_info.template_name << " install script on " << server << "..." << std::endl; - server_env.run_remote_template_command(service, "install", {}, false, {}); + + shared_commands::cRemoteTempFolder remote_temp_folder(server_env, user); + if (!server_env.run_remote_template_command(service, "install", {}, false, {{"TEMP_DIR", remote_temp_folder.path()}})) + { + error << "Failed to run install script on " << server << std::endl; + return false; + } } // print health tick