OSDN Git Service
(root)
/
alterlinux
/
alterlinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4caad81
)
[update] : No output when the channel list is empty
author
hayao
<shun819.mail@gmail.com>
Sat, 3 Oct 2020 06:53:20 +0000
(15:53 +0900)
committer
hayao
<shun819.mail@gmail.com>
Sat, 3 Oct 2020 06:53:20 +0000
(15:53 +0900)
tools/channel.sh
patch
|
blob
|
history
diff --git
a/tools/channel.sh
b/tools/channel.sh
index
48c887c
..
b236c4a
100755
(executable)
--- a/
tools/channel.sh
+++ b/
tools/channel.sh
@@
-93,7
+93,9
@@
check() {
show() {
gen_channel_list
- echo "${channellist[*]}"
+ if (( "${#channellist[*]}" > 0)); then
+ echo "${channellist[*]}"
+ fi
}