9 echo "$(basename ${0}) /path/to/pkg-stage.conf revision"
13 if [ ! -e "${1}" ]; then
14 echo "Configuration file not specified."
19 if [ "$#" -lt 2 ]; then
23 # Source config file for this architecture.
27 if [ ! -x /usr/local/sbin/pkg ]; then
28 /usr/bin/make -C /usr/ports/ports-mgmt/pkg install clean
31 /bin/mkdir -p ${PKG_CACHEDIR}
34 ${PKGCMD} fetch -d ${DVD_PACKAGES}
36 ${PKGCMD} repo ${PKG_CACHEDIR}
38 # Always exit '0', even if pkg(8) complains about conflicts.