mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Use Laravel 7 and remove omnipay for now
This commit is contained in:
@@ -48,10 +48,10 @@ class InstallNntmux extends Command
|
||||
$error = false;
|
||||
|
||||
if ($this->confirm('Are you sure you want to install NNTmux? This will wipe your database!!')) {
|
||||
if (file_exists(base_path().'/_install/install.lock')) {
|
||||
if (File::exists(base_path().'/_install/install.lock')) {
|
||||
if ($this->confirm('Do you want to remove install.lock file so you can continue with install?')) {
|
||||
$this->info('Removing install.lock file so we can continue with install process');
|
||||
$remove = new Process('rm _install/install.lock');
|
||||
$remove = Process::fromShellCommandline('exec rm _install/install.lock');
|
||||
$remove->setTimeout(600);
|
||||
$remove->run(function ($type, $buffer) {
|
||||
if (Process::ERR === $type) {
|
||||
|
||||
Reference in New Issue
Block a user