From 5648ad25ec88d061dc0b5dac63653e02240a85e3 Mon Sep 17 00:00:00 2001 From: dmacias72 Date: Tue, 31 Dec 2019 23:51:31 -0700 Subject: [PATCH] fix package subset false positives --- .../usr/local/emhttp/plugins/NerdPack/include/PackageQuery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/NerdPack/usr/local/emhttp/plugins/NerdPack/include/PackageQuery.php b/source/NerdPack/usr/local/emhttp/plugins/NerdPack/include/PackageQuery.php index 916fbfe7..6987c530 100644 --- a/source/NerdPack/usr/local/emhttp/plugins/NerdPack/include/PackageQuery.php +++ b/source/NerdPack/usr/local/emhttp/plugins/NerdPack/include/PackageQuery.php @@ -30,7 +30,7 @@ foreach ($pkgs_github_array as $pkg_github) { $pkg_nver = $pkg_name.'-'.str_replace('.', '_', $pkg_version); // add underscored version to package name - $pkg_pattern = '/^'.$pkg_name.'-.*/'; // search pattern for packages + $pkg_pattern = '/^'.$pkg_name.'-[0-9].*/'; // search pattern for packages // check all plugins for package dependency $plugins = [];