From 756a6d8d14fd560312d4b2aa01205228ca4d6dca Mon Sep 17 00:00:00 2001 From: Agent Date: Sat, 13 Jun 2026 15:55:49 -0400 Subject: [PATCH] move install scripts to bin/, remove unused install directory --- {install => bin}/agent-install.sh | 0 {install => bin}/agent-uninstall.sh | 0 src/Services/AgentService.php | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) rename {install => bin}/agent-install.sh (100%) rename {install => bin}/agent-uninstall.sh (100%) diff --git a/install/agent-install.sh b/bin/agent-install.sh similarity index 100% rename from install/agent-install.sh rename to bin/agent-install.sh diff --git a/install/agent-uninstall.sh b/bin/agent-uninstall.sh similarity index 100% rename from install/agent-uninstall.sh rename to bin/agent-uninstall.sh diff --git a/src/Services/AgentService.php b/src/Services/AgentService.php index ea05604..ff97ab7 100644 --- a/src/Services/AgentService.php +++ b/src/Services/AgentService.php @@ -43,7 +43,7 @@ class AgentService $serverUrl = $scheme . $host; } - $scriptPath = $this->basePath . '/install/agent-install.sh'; + $scriptPath = $this->basePath . '/bin/agent-install.sh'; if (!file_exists($scriptPath)) { return ['success' => false, 'error' => 'Agent install script not found']; @@ -114,7 +114,7 @@ class AgentService $server = App::getEncryption()->decryptArray($server, ['ssh_password', 'ssh_key']); - $scriptPath = $this->basePath . '/install/agent-uninstall.sh'; + $scriptPath = $this->basePath . '/bin/agent-uninstall.sh'; if (!file_exists($scriptPath)) { return ['success' => false, 'error' => 'Agent uninstall script not found'];