#!/bin/sh

[ "$1" ] || exit 1

[ -f $1.pkg ] || exit 2

/usr/sbin/pkgadd -d `pwd`/$1.pkg
