NetBSD/share/sushi/install/installb/script

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