Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
docs:guide-user:additional-software:opkg [2023/04/03 00:32] – [Local repository] add snapshot support vgaeteradocs:guide-user:additional-software:opkg [2023/04/03 00:34] – [Local repository] update vgaetera
Line 391: Line 391:
 REPO_CORE="${REPO_DIR}/targets/${OPENWRT_BOARD}" REPO_CORE="${REPO_DIR}/targets/${OPENWRT_BOARD}"
 REPO_PKGS="${REPO_DIR}/packages/${OPENWRT_ARCH}" REPO_PKGS="${REPO_DIR}/packages/${OPENWRT_ARCH}"
-for REPO_DIR in ${REPO_CORE} ${REPO_PKGS} +for REPO_DIR in "${REPO_CORE}" "${REPO_PKGS}" 
-do mkdir -p ${REPO_LOCAL#*//}${REPO_DIR#*/+do mkdir -p "${REPO_LOCAL#*//}${REPO_DIR#*/}" 
-rsync --bwlimit=8M --del -r -t -v \ +rsync --bwlimit="8M--del -r -t -v \ 
-${REPO_URL/https/rsync}${REPO_DIR}/+"${REPO_URL/https/rsync}${REPO_DIR}/
-${REPO_LOCAL#*//}/${REPO_DIR#*/}/+"${REPO_LOCAL#*//}/${REPO_DIR#*/}/"
 done done
 EOF EOF
  • Last modified: 2024/04/12 10:08
  • by virtualguy