mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
fix compatible with older versions
This commit is contained in:
parent
e78bfbf48b
commit
b77e9fb60b
@ -17,6 +17,7 @@ function availableAddons() {
|
|||||||
DESC=""
|
DESC=""
|
||||||
[ -z "${DESC}" ] && DESC="$(readConfigKey "description.${LOCALE:-"en_US"}" "${D}/manifest.yml")"
|
[ -z "${DESC}" ] && DESC="$(readConfigKey "description.${LOCALE:-"en_US"}" "${D}/manifest.yml")"
|
||||||
[ -z "${DESC}" ] && DESC="$(readConfigKey "description.en_US" "${D}/manifest.yml")"
|
[ -z "${DESC}" ] && DESC="$(readConfigKey "description.en_US" "${D}/manifest.yml")"
|
||||||
|
[ -z "${DESC}" ] && DESC="$(readConfigKey "description" "${D}/manifest.yml")"
|
||||||
echo -e "${ADDON}\t${DESC:-"unknown"}"
|
echo -e "${ADDON}\t${DESC:-"unknown"}"
|
||||||
done < <(find "${ADDONS_PATH}" -maxdepth 1 -type d | sort)
|
done < <(find "${ADDONS_PATH}" -maxdepth 1 -type d | sort)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user