Add a template for the pkgdef file and make sure newpkg places a copy in

the new metadir
This commit is contained in:
Tom G. Christensen
2004-04-15 08:51:49 +00:00
parent d15a078371
commit 9409cc9282
2 changed files with 14 additions and 0 deletions

4
newpkg
View File

@@ -28,3 +28,7 @@ if [ "$($UNAME -s)" == "IRIX" ]; then
$SED -e 's/bin\/bash/usr\/local\/bin\/bash/g' $arg1/build.sh > $arg1/build.sh.tmp
$MV $arg1/build.sh.tmp $arg1/build.sh
fi
if [ "$($UNAME -s)" == "SunOS" ]; then
cp scripts/pkgdef.template $arg1/meta/pkgdef
fi