diff options
Diffstat (limited to 'databases/msql3/files/slibinstall.mm')
-rw-r--r-- | databases/msql3/files/slibinstall.mm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/databases/msql3/files/slibinstall.mm b/databases/msql3/files/slibinstall.mm new file mode 100644 index 0000000..7349f3e --- /dev/null +++ b/databases/msql3/files/slibinstall.mm @@ -0,0 +1,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 |