From d7eaa6d179d2b363a6a9260ecea98f2bbefead16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Tue, 21 Nov 2017 22:14:13 +0000 Subject: subr/pkg_install_libs.subr:pkgp_install_lib_check(): fix typo in glob. --- subr/pkg_install_libs.subr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subr/pkg_install_libs.subr b/subr/pkg_install_libs.subr index 452694bf..c00737c5 100644 --- a/subr/pkg_install_libs.subr +++ b/subr/pkg_install_libs.subr @@ -5,7 +5,7 @@ pkgp_install_lib_check() { local _so_path="${1}" _so_ver="${1##*.so}"; while [ -n "${_so_ver}" ]; do - if [ "${_so_ver#[0-9].}" = "${_so_ver}" ]; then + if [ "${_so_ver#[0-9.]}" = "${_so_ver}" ]; then return 0; else _so_ver="${_so_ver#[0-9].}"; -- cgit v1.2.3