|
Lines 8-14
export ASSUME_ALWAYS_YES="YES"
Link Here
|
| 8 |
export PKG_DBDIR="/tmp/pkg" |
8 |
export PKG_DBDIR="/tmp/pkg" |
| 9 |
export PERMISSIVE="YES" |
9 |
export PERMISSIVE="YES" |
| 10 |
export REPO_AUTOUPDATE="NO" |
10 |
export REPO_AUTOUPDATE="NO" |
| 11 |
export PKGCMD="/usr/sbin/pkg -d" |
11 |
export PKGCMD="/usr/sbin/pkg -d --rootdir dvd" |
| 12 |
export PORTSDIR="${PORTSDIR:-/usr/ports}" |
12 |
export PORTSDIR="${PORTSDIR:-/usr/ports}" |
| 13 |
|
13 |
|
| 14 |
_DVD_PACKAGES="archivers/unzip |
14 |
_DVD_PACKAGES="archivers/unzip |
|
Lines 49-56
if [ ! -x /usr/local/sbin/pkg ]; then
Link Here
|
| 49 |
fi |
49 |
fi |
| 50 |
|
50 |
|
| 51 |
export DVD_DIR="dvd/packages" |
51 |
export DVD_DIR="dvd/packages" |
| 52 |
export PKG_ABI=$(pkg config ABI) |
52 |
export PKG_ABI=$(pkg --rootdir dvd config ABI) |
| 53 |
export PKG_ALTABI=$(pkg config ALTABI 2>/dev/null) |
53 |
export PKG_ALTABI=$(pkg --rootdir dvd config ALTABI 2>/dev/null) |
| 54 |
export PKG_REPODIR="${DVD_DIR}/${PKG_ABI}" |
54 |
export PKG_REPODIR="${DVD_DIR}/${PKG_ABI}" |
| 55 |
|
55 |
|
| 56 |
/bin/mkdir -p ${PKG_REPODIR} |
56 |
/bin/mkdir -p ${PKG_REPODIR} |