Add skip scripting option
This commit is contained in:
parent
c8f1335a09
commit
3fe5d162f5
3 changed files with 10 additions and 2 deletions
|
@ -41,8 +41,7 @@ class OptionController extends Controller
|
|||
|
||||
return response()->json([
|
||||
'scripts' => [
|
||||
'install' => str_replace(["\r\n", "\n", "\r"], "\n", $server->option->script_install),
|
||||
// 'upgrade' => str_replace(["\r\n", "\n", "\r"], "\n", $server->option->script_upgrade),
|
||||
'install' => (! $server->option->script_install) ? null : str_replace(["\r\n", "\n", "\r"], "\n", $server->option->script_install),
|
||||
'privileged' => $server->option->script_is_privileged,
|
||||
],
|
||||
'env' => $environment->merge([
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue