Just stop people right there.
This commit is contained in:
parent
2a8d336336
commit
bf2291357f
1 changed files with 4 additions and 1 deletions
|
@ -35,13 +35,16 @@ class UpgradeCommand extends Command
|
||||||
public function handle()
|
public function handle()
|
||||||
{
|
{
|
||||||
$skipDownload = $this->option('skip-download');
|
$skipDownload = $this->option('skip-download');
|
||||||
|
|
||||||
if (!$skipDownload) {
|
if (!$skipDownload) {
|
||||||
$this->output->warning('This command does not verify the integrity of downloaded assets. Please ensure that you trust the download source before continuing. If you do not wish to download an archive, please indicate that using the --skip-download flag, or answering "no" to the question below.');
|
$this->output->warning('This command does not verify the integrity of downloaded assets. Please ensure that you trust the download source before continuing. If you do not wish to download an archive, please indicate that using the --skip-download flag, or answering "no" to the question below.');
|
||||||
$this->output->comment('Download Source (set with --url=):');
|
$this->output->comment('Download Source (set with --url=):');
|
||||||
$this->line($this->getUrl());
|
$this->line($this->getUrl());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (version_compare(PHP_VERSION, '7.4.0') < 0) {
|
||||||
|
$this->error('Cannot execute self-upgrade process. The minimum required PHP version required is 7.4.0, you have [' . PHP_VERSION . '].');
|
||||||
|
}
|
||||||
|
|
||||||
$user = 'www-data';
|
$user = 'www-data';
|
||||||
if ($this->input->isInteractive()) {
|
if ($this->input->isInteractive()) {
|
||||||
if (!$skipDownload) {
|
if (!$skipDownload) {
|
||||||
|
|
Loading…
Reference in a new issue