diff options
author | stilez <stilez@users.noreply.github.com> | 2017-01-30 06:15:11 +0000 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-01-30 13:33:27 -0200 |
commit | 7620266fd0394607335ee87c30b93195e8880c43 (patch) | |
tree | 72d73ff6b61e457e64f3cf590bbad0beb4255944 /src/usr/local | |
parent | c6995b29d0a2e7acd959952f5509f8f79f7e3255 (diff) | |
download | pfsense-7620266fd0394607335ee87c30b93195e8880c43.zip pfsense-7620266fd0394607335ee87c30b93195e8880c43.tar.gz |
Misc cleanups at get_pkg_info()
* rename function args to be clearer what they do ($local_only was quite ambiguous, at first sight it could mean any of: "don't update local catalog copy", "only check local catalog copy", or "only report local installed pkgs")
* merge nested if () conditions
* refactor minor code stuff
* rewrite explanatory comment
(cherry picked from commit 04daf8b1f016e17bede4ad00db46f2855d3e7c1f)
Diffstat (limited to 'src/usr/local')
0 files changed, 0 insertions, 0 deletions