move install scripts to bin/, remove unused install directory

This commit is contained in:
2026-06-13 15:55:49 -04:00
parent b19c3c7a3a
commit 756a6d8d14
3 changed files with 2 additions and 2 deletions

View File

@@ -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'];