Closed itn3rd77 closed 6 years ago
Hi,
is it intentional that the pkg_dump_info function from pkg_util.sh removes all unknow fields not defined in fields variable or is this a bug?
pkg_dump_info
pkg_util.sh
local fields="package version maintainer maintainer_url distributor distributor_url arch exclude_arch model adminprotocol adminurl adminport firmware dsmuidir dsmappname checkport allow_altport startable helpurl report_url support_center install_reboot install_dep_packages install_conflict_packages install_dep_services instuninst_restart_services startstop_restart_services start_dep_services silent_install silent_upgrade silent_uninstall install_type checksum package_icon package_icon_120 package_icon_128 package_icon_144 package_icon_256 thirdparty support_conf_folder log_collector support_aaprofile auto_upgrade_from offline_install precheckstartstop";
If I define beta=yesor description_enu="Sample package"inside INFO.sh these fields are removed.
beta=yes
description_enu="Sample package"
Regards Ingo
Hi,
is it intentional that the
pkg_dump_info
function frompkg_util.sh
removes all unknow fields not defined in fields variable or is this a bug?If I define
beta=yes
ordescription_enu="Sample package"
inside INFO.sh these fields are removed.Regards Ingo