NetBSD/share/sushi/install/installb/script
garbled 81c679f738 Modify these forms to allow the user to select any category of packages
that is available in either our ftp binary tree, or his/her local sources.
2001-01-24 09:34:37 +00:00

8 lines
269 B
Bash
Executable File

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