version 1.3, 2008/08/12 23:42:09 |
version 1.4, 2008/08/12 23:44:19 |
|
|
#!/bin/sh |
#!/bin/sh |
# $RedRiver: update_openbsd,v 1.2 2008/08/12 22:07:05 andrew Exp $ |
# $RedRiver: update_openbsd,v 1.3 2008/08/12 22:42:09 andrew Exp $ |
|
|
SYSMERGE=/usr/sbin/sysmerge |
SYSMERGE=/usr/sbin/sysmerge |
MIRROR=ftp://ftp.openbsd.org/pub/OpenBSD |
MIRROR=ftp://ftp.openbsd.org/pub/OpenBSD |
FTP_CMD='ftp -V' |
FTP_CMD='ftp -V' |
DESTDIR=/ |
|
|
|
if [ -e /etc/update_openbsd.conf ]; then |
if [ -e /etc/update_openbsd.conf ]; then |
. /etc/update_openbsd.conf |
. /etc/update_openbsd.conf |
|
|
fi |
fi |
} |
} |
|
|
|
DESTDIR=${DESTDIR:=/} |
PKG_PATH=${PKG_PATH:=/usr/ports/packages/`machine`/all/:${MIRROR}/`uname -r`/packages/`machine`/} |
PKG_PATH=${PKG_PATH:=/usr/ports/packages/`machine`/all/:${MIRROR}/`uname -r`/packages/`machine`/} |
|
|
if [ X"" != X"$SYSMERGE" ]; then |
if [ X"" != X"$SYSMERGE" ]; then |