aboutsummaryrefslogtreecommitdiff
path: root/databases/msql3/files/slibinstall.mm
blob: 7349f3e65c41047cec71b8e0e3e7924ac35d10c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh

. $MACRO_DIR/makegen/makegen.cf

maj=$1
src=$2
destd=$3
mode=$4
owner=$5
group=$6

echo	"install ::"
echo	"	cp $src.$maj $destd/$src.$maj"
echo	"	ln -sf $src.$maj $destd/$src"
if test "$mode." != "."
then
	echo	"	$chmod $mode $destd/$src.$maj"
fi
if test "$owner." = "root."
then
	echo	"	$chown $owner $destd/$src.$maj"
fi
if test "$group." != "."
then
	echo	"	$chgrp $group $destd/$src.$maj"
fi
echo