Browse Source

adding smaller bugfixes, change letsencrpty

release/0.1
Björn 4 years ago
parent
commit
76b4b41c4e
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      app/Commands/LetsEncryptInstallCommand.php

+ 4
- 4
app/Commands/LetsEncryptInstallCommand.php View File

@ -42,21 +42,21 @@ class LetsEncryptInstallCommand extends Command
$output = []; $output = [];
exec('apt update 2>&1', $output); exec('apt update 2>&1', $output);
exec('apt install software-properties-common 2>&1', $output);
exec('apt install -y software-properties-common 2>&1', $output);
// @TODO apt add a Warning for no good, in a later version output will be scanned for helpfull infos // @TODO apt add a Warning for no good, in a later version output will be scanned for helpfull infos
$this->line(implode("\n", Install::filterAptMessages($output))); $this->line(implode("\n", Install::filterAptMessages($output)));
$output = []; $output = [];
exec('add-apt-repository universe 2>&1', $output);
exec('add-apt-repository ppa:certbot/certbot 2>&1', $output);
exec('add-apt-repository -y universe 2>&1', $output);
exec('add-apt-repository -y ppa:certbot/certbot 2>&1', $output);
// @TODO apt add a Warning for no good, in a later version output will be scanned for helpfull infos // @TODO apt add a Warning for no good, in a later version output will be scanned for helpfull infos
$this->line(implode("\n", Install::filterAptMessages($output))); $this->line(implode("\n", Install::filterAptMessages($output)));
$output = []; $output = [];
exec('apt update 2>&1', $output); exec('apt update 2>&1', $output);
exec('apt install certbot python3-certbot-nginx 2>&1', $output);
exec('apt install -y certbot python3-certbot-nginx 2>&1', $output);
// @TODO apt add a Warning for no good, in a later version output will be scanned for helpfull infos // @TODO apt add a Warning for no good, in a later version output will be scanned for helpfull infos
$this->line(implode("\n", Install::filterAptMessages($output))); $this->line(implode("\n", Install::filterAptMessages($output)));


Loading…
Cancel
Save