diff options
author | Renato Botelho <renato@netgate.com> | 2015-10-23 18:04:08 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-10-23 18:04:08 -0200 |
commit | 3e191a855fb8a76fe47613939fe554e1931bb938 (patch) | |
tree | 22a033e24caf1519f5b316c10b10f0bec88aad35 /src | |
parent | 197c6869891b6820262c4595b7854840c2cb2fe7 (diff) | |
download | pfsense-3e191a855fb8a76fe47613939fe554e1931bb938.zip pfsense-3e191a855fb8a76fe47613939fe554e1931bb938.tar.gz |
Ignore kernel-debug package when looking for main kernel package
Diffstat (limited to 'src')
-rwxr-xr-x | src/usr/local/sbin/pfSense-upgrade | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/sbin/pfSense-upgrade b/src/usr/local/sbin/pfSense-upgrade index e14348e..5a24e2a 100755 --- a/src/usr/local/sbin/pfSense-upgrade +++ b/src/usr/local/sbin/pfSense-upgrade @@ -258,7 +258,7 @@ pkg_update() { pkg_upgrade() { # figure out which kernel variant is running - export kernel_pkg=$(pkg query %n $(pkg info ${product}-kernel-\*)) + export kernel_pkg=$(pkg query %n $(pkg info ${product}-kernel-\* | grep -v -- -debug-)) if [ -z "${kernel_pkg}" ]; then _echo "ERROR: It was not possible to identify which ${product} kernel is installed" |