2001-01-05 05:06:53 +03:00
|
|
|
#!/bin/sh -x
|
2001-01-24 12:34:37 +03:00
|
|
|
# $NetBSD: script,v 1.3 2001/01/24 09:34:37 garbled Exp $
|
2001-01-05 05:06:53 +03:00
|
|
|
if [ -z "$PKG_PATH" ]; then
|
|
|
|
PKG_PATH="ftp://ftp.netbsd.org/pub/NetBSD/packages"
|
|
|
|
fi
|
2001-01-24 12:34:37 +03:00
|
|
|
NBSDVERS=`uname -r | sed 's@\.\([0-9]*\)[\._].*@\.\1@'`
|
2001-01-05 05:06:53 +03:00
|
|
|
pkg_add -v ${PKG_PATH}/${NBSDVERS}/`uname -m`/$2/${1}.tgz
|