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:19:38 -0300 |
commit | e429ac7134ac2080af9117c11e2f294d4dd8c5d0 (patch) | |
tree | 31e4c6c2546cb613b85e011f38a57854cc0c1bb8 /src/usr/local | |
parent | 5caee0ba0f8782ea7bf1df54ad0848da1d5084d2 (diff) | |
download | pfsense-e429ac7134ac2080af9117c11e2f294d4dd8c5d0.zip pfsense-e429ac7134ac2080af9117c11e2f294d4dd8c5d0.tar.gz |
Fix code used to read config repo path
Diffstat (limited to 'src/usr/local')
-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} |