# If there is config for each channel. load that.
if [[ -f "${script_path}/channels/${channel_name}/config" ]]; then
source "${script_path}/channels/${channel_name}/config"
- _msg_info "The settings have been overwritten by the ${script_path}/channels/${channel_name}/config."
+ _msg_debug "The settings have been overwritten by the ${script_path}/channels/${channel_name}/config."
fi
save_var \
os_name \
#-- Read package list --#
# Read the file and remove comments starting with # and add it to the list of packages to install.
for _file in ${_loadfilelist[@]}; do
- _msg_info "Loaded package file ${_file}."
+ _msg_debug "Loaded package file ${_file}."
pkglist=( ${pkglist[@]} "$(grep -h -v ^'#' ${_file})" )
done
if [[ ${debug} = true ]]; then
done
fi
+ if [[ -n "${excludelist[@]}" ]]; then
+ _msg_debug "The following packages have been removed from the installation list."
+ _msg_debug "Excluded packages: ${excludelist[@]}"
+ fi
+
# Exclude packages from the exclusion list for each channel
excludefile="${script_path}/channels/${channel_name}/packages/exclude"
if [[ -f "${excludefile}" ]]; then
# Show config message
-[[ -f "${script_path}"/config ]] && _msg_info "The settings have been overwritten by the "${script_path}"/config."
+[[ -f "${script_path}"/config ]] && _msg_debug "The settings have been overwritten by the "${script_path}"/config."
# Debug mode