Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| docs:guide-user:additional-software:opkg [2023/04/02 07:40] – [Out of space] kls0e | docs:guide-user:additional-software:opkg [2023/04/03 00:34] – [Local repository] update vgaetera | ||
|---|---|---|---|
| Line 385: | Line 385: | ||
| REPO_LOCAL=" | REPO_LOCAL=" | ||
| REPO_URL=" | REPO_URL=" | ||
| - | REPO_DIR=" | + | case " |
| + | (snapshot) REPO_DIR=" | ||
| + | (*) REPO_DIR=" | ||
| + | esac | ||
| REPO_CORE=" | REPO_CORE=" | ||
| REPO_PKGS=" | REPO_PKGS=" | ||
| - | for REPO_DIR in ${REPO_CORE} ${REPO_PKGS} | + | for REPO_DIR in "${REPO_CORE}" "${REPO_PKGS}" |
| - | do mkdir -p ${REPO_LOCAL# | + | do mkdir -p "${REPO_LOCAL# |
| - | rsync --bwlimit=8M --del -r -t -v \ | + | rsync --bwlimit="8M" |
| - | ${REPO_URL/ | + | "${REPO_URL/ |
| - | ${REPO_LOCAL# | + | "${REPO_LOCAL# |
| done | done | ||
| EOF | EOF | ||