mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
Little bug checking addons in make()
This commit is contained in:
parent
440e40008a
commit
e4eacd81bb
@ -175,9 +175,10 @@ function make() {
|
||||
|
||||
# Check if all addon exists
|
||||
while IFS="=" read ADDON PARAM; do
|
||||
[ -z "${KEY}" ] && continue
|
||||
[ -z "${ADDON}" ] && continue
|
||||
if ! checkAddonExist "${ADDON}" "${PLATFORM}" "${KVER}"; then
|
||||
echo "Addon ${ADDON} not found!"
|
||||
dialog --backtitle "`backtitle`" --title "Error" --aspect 18 \
|
||||
--msgbox "Addon ${ADDON} not found!" 0 0
|
||||
return 1
|
||||
fi
|
||||
done < <(readConfigMap "addons" "${USER_CONFIG_FILE}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user