move install scripts to bin/, remove unused install directory
This commit is contained in:
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user