mirror of
https://github.com/RROrg/rr.git
synced 2025-12-17 01:29:38 +08:00
Compare commits
2 Commits
8b33ed37e3
...
6951fe491c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6951fe491c | ||
|
|
a2bbcf0e31 |
@ -2761,8 +2761,7 @@ function updateRR() {
|
||||
fi
|
||||
# Check conditions
|
||||
if [ -f "${TMP_PATH}/update/update-check.sh" ]; then
|
||||
chmod +x "${TMP_PATH}/update/update-check.sh"
|
||||
${TMP_PATH}/update/update-check.sh
|
||||
cat "${TMP_PATH}/update/update-check.sh" | bash
|
||||
if [ $? -ne 0 ]; then
|
||||
MSG="$(TEXT "The current version does not support upgrading to the latest update.zip. Please remake the bootloader disk!")"
|
||||
if [ "${2}" = "-1" ]; then
|
||||
|
||||
@ -117,7 +117,7 @@ def getmodules(workpath, jsonpath, xlsxpath):
|
||||
KS.sort()
|
||||
for K in KS:
|
||||
K_name = os.path.splitext(os.path.basename(K))[0]
|
||||
K_info = kmodule.modinfo(K)[0]
|
||||
K_info = kmodule.modinfo(os.path.basename(K), basedir=os.path.dirname(K))[0]
|
||||
K_description = K_info.get("description", "")
|
||||
K_depends = K_info.get("depends", "")
|
||||
M_modules[K_name] = {"description": K_description, "depends": K_depends}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user