Skip to content

Commit dbdf44a

Browse files
committed
[update] : Get the channel description using channel.sh
1 parent 0c3fa52 commit dbdf44a

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

allarch.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -174,13 +174,7 @@ _usage () {
174174
fi
175175
echo -ne " ${_channel}"
176176
echo_blank "$(( ${blank} - 4 - ${#_channel} ))"
177-
if [[ ! "$(cat "${script_path}/channels/${_dirname}/alteriso" 2> /dev/null)" = "alteriso=${alteriso_version}" ]] && [[ "${nochkver}" = false ]]; then
178-
"${script_path}/tools/msg.sh" --noadjust -l 'ERROR:' --noappname error "Not compatible with AlterISO3"
179-
elif [[ -f "${script_path}/channels/${_dirname}/description.txt" ]]; then
180-
echo -ne "$(cat "${script_path}/channels/${_dirname}/description.txt")\n"
181-
else
182-
"${script_path}/tools/msg.sh" --noadjust -l 'WARN :' --noappname warn "This channel does not have a description.txt"
183-
fi
177+
"${script_path}/tools/channel.sh" desc "${_channel}"
184178
done
185179

186180
echo

0 commit comments

Comments
 (0)