fixed: check for updates also checked for OS updates

This commit is contained in:
Squidly271 2022-10-15 15:11:44 -04:00
parent d852e1a57d
commit 04e2e122d4
3 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ f25b1ed0b1cddfb4ff95a10ced212a0d ./include/helpers.php
116042a918060278e77379b0dd73482c ./include/paths.php
532fffdf939594c143e679da02bd841e ./javascript/libraries.js
71f911a818d88d3d567f8a2898094ee2 ./README.md
d3d8286046cc7d6edf8f596067c163a2 ./scripts/checkForUpdates.php
ebb6450725d05c53116c3c996b6abac1 ./scripts/checkForUpdates.php
99a9d58a49a7f6812f18bd4be2b563b9 ./scripts/checkForUpdates.sh
677ac9a29993ec57e09ec6a1856f1a11 ./scripts/dockerConvert.php
8eb6e62a41113a3bff297bb930d66139 ./scripts/installMulti.php

View File

@ -25,7 +25,7 @@ echo tr("Checking for docker container updates")."\n";
exec("$docroot/plugins/dynamix.docker.manager/scripts/dockerupdate check nonotify > /dev/null 2>&1");
echo tr("Checking for plugin updates")."\n";
foreach (glob("/var/log/plugins/*.plg") as $plg) {
if ( $plg == "/var/log/plugins/community.applications.plg" || $plg == "unRAIDServer.plg" || $plg == "gui.search.plg" || $plg == "page.notes.plg")
if ( $plg == "/var/log/plugins/community.applications.plg" || $plg == "/var/log/plugins/unRAIDServer.plg" || $plg == "/var/log/plugins/gui.search.plg" || $plg == "/var/log/plugins/page.notes.plg")
continue; // avoid possible race condition since CA / gui.search automatically check for updates for themselves when on Apps tab
echo sprintf(tr("Checking %s"),$plg)."\n";
exec("$docroot/plugins/dynamix.plugin.manager/scripts/plugin check ".escapeshellarg(basename($plg))." > /dev/null 2>&1");