Skip to content

Commit 4983f11

Browse files
committed
[update] : Added debug message
1 parent d0c8084 commit 4983f11

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/pkglist.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,11 @@ done
232232
unset _subpkglist
233233

234234
#-- excludeされたパッケージを表示 --#
235-
if [[ -n "${_excludelist[*]}" ]]; then
235+
if (( "${#_excludelist[@]}" >= 1 )); then
236236
msg_debug "The following packages have been removed from the installation list."
237237
msg_debug "Excluded packages: ${_excludelist[*]}"
238+
else
239+
msg_debug "No packages are excluded."
238240
fi
239241

240242
# Sort the list of packages in abc order.

0 commit comments

Comments
 (0)