mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-22 07:30:25 +00:00
update
This commit is contained in:
parent
1f8cffd7f3
commit
9c27dd4fca
2 changed files with 7 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
sudo apt-get update
|
||||
sudo apt-get install ca-certificates curl
|
||||
sudo apt-get update -y
|
||||
sudo apt-get install ca-certificates curl -y
|
||||
sudo install -m 0755 -d /etc/apt/keyrings
|
||||
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
|
||||
sudo chmod a+r /etc/apt/keyrings/docker.asc
|
||||
|
@ -11,4 +11,6 @@ echo \
|
|||
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||
sudo apt-get update
|
||||
|
||||
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
|
||||
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y
|
||||
|
||||
echo "Done!"
|
||||
|
|
|
@ -71,7 +71,7 @@ class Modules extends Page
|
|||
$this->installLog = str_replace("\n", "<br>", $this->installLog);
|
||||
}
|
||||
|
||||
if (Str::contains($this->installLog, 'Installed')) {
|
||||
if (Str::contains($this->installLog, 'Done')) {
|
||||
$this->installLogPulling = false;
|
||||
$newModule = new Module();
|
||||
$newModule->name = $module;
|
||||
|
@ -87,7 +87,7 @@ class Modules extends Page
|
|||
$this->installLogPulling = true;
|
||||
$this->installLogFilePath = storage_path('logs/' . $module . '-install.log');
|
||||
|
||||
file_put_contents($this->installLogFilePath, 'Installing ' . $module . '...');
|
||||
file_put_contents($this->installLogFilePath, 'Installing ' . $module . '...' . PHP_EOL);
|
||||
|
||||
$postInstall = app()->make('Modules\\' . $module . '\\PostInstall');
|
||||
if (method_exists($postInstall, 'run')) {
|
||||
|
|
Loading…
Reference in a new issue