diff options
author | Renato Botelho <renato@netgate.com> | 2016-04-06 07:19:38 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-04-06 07:21:55 -0300 |
commit | c819492263c75791d2d79329403cbd1b9e009b47 (patch) | |
tree | 907ee8850d1ddceb562b6052cec303ae609f9971 /src/usr/local/sbin/pfSense-upgrade | |
parent | b3c75c1a4e4afd3b3db13ae6d97b28308c3768f0 (diff) | |
download | pfsense-c819492263c75791d2d79329403cbd1b9e009b47.zip pfsense-c819492263c75791d2d79329403cbd1b9e009b47.tar.gz |
Fix code used to read config repo path
(cherry picked from commit e429ac7134ac2080af9117c11e2f294d4dd8c5d0)
Diffstat (limited to 'src/usr/local/sbin/pfSense-upgrade')
-rwxr-xr-x | src/usr/local/sbin/pfSense-upgrade | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/usr/local/sbin/pfSense-upgrade b/src/usr/local/sbin/pfSense-upgrade index 42704f7..a995273 100755 --- a/src/usr/local/sbin/pfSense-upgrade +++ b/src/usr/local/sbin/pfSense-upgrade @@ -706,8 +706,7 @@ validate_repo_conf() { pkg_repo_conf="/usr/local/etc/pkg/repos/${product}.conf" default_pkg_repo_conf_path="/usr/local/share/${product}/pkg/repos/${product}-repo.conf" - pkg_repo_conf_path=$(/usr/local/sbin/read_xml_tag.sh string system/pkg_repo_conf_path \ - ${default_pkg_repo_conf_path}) + pkg_repo_conf_path=$(/usr/local/sbin/read_xml_tag.sh string system/pkg_repo_conf_path) if [ -z "${pkg_repo_conf_path}" -o ! -f "${pkg_repo_conf_path}" ]; then pkg_repo_conf_path=${default_pkg_repo_conf_path} |