wmi-1.3.16 from opsview.com
This commit is contained in:
Executable
+30
@@ -0,0 +1,30 @@
|
||||
#!/bin/sh
|
||||
|
||||
MANDIR=$1
|
||||
shift 1
|
||||
MANPAGES=$*
|
||||
|
||||
for I in $MANPAGES
|
||||
do
|
||||
SECTION=`echo $I | grep -o '.$'`
|
||||
DIR="$MANDIR/man$SECTION"
|
||||
if [ ! -d "$DIR" ]
|
||||
then
|
||||
mkdir "$DIR"
|
||||
fi
|
||||
|
||||
BASE=`basename $I`
|
||||
|
||||
echo "Installing manpage \"$BASE\" in $DIR"
|
||||
cp $I $DIR
|
||||
done
|
||||
|
||||
cat << EOF
|
||||
======================================================================
|
||||
The man pages have been installed. You may uninstall them using the command
|
||||
the command "make uninstallman" or make "uninstall" to uninstall binaries,
|
||||
man pages and shell scripts.
|
||||
======================================================================
|
||||
EOF
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user