Revision c8194922
Added by Renato Botelho about 9 years ago
src/usr/local/sbin/pfSense-upgrade | ||
---|---|---|
706 | 706 |
pkg_repo_conf="/usr/local/etc/pkg/repos/${product}.conf" |
707 | 707 |
default_pkg_repo_conf_path="/usr/local/share/${product}/pkg/repos/${product}-repo.conf" |
708 | 708 |
|
709 |
pkg_repo_conf_path=$(/usr/local/sbin/read_xml_tag.sh string system/pkg_repo_conf_path \ |
|
710 |
${default_pkg_repo_conf_path}) |
|
709 |
pkg_repo_conf_path=$(/usr/local/sbin/read_xml_tag.sh string system/pkg_repo_conf_path) |
|
711 | 710 |
|
712 | 711 |
if [ -z "${pkg_repo_conf_path}" -o ! -f "${pkg_repo_conf_path}" ]; then |
713 | 712 |
pkg_repo_conf_path=${default_pkg_repo_conf_path} |
Also available in: Unified diff
Fix code used to read config repo path
(cherry picked from commit e429ac7134ac2080af9117c11e2f294d4dd8c5d0)