source: trunk/samba-3.0.25pre1/source/script/installmsg.sh@ 1

Last change on this file since 1 was 1, checked in by Paul Smedley, 19 years ago

Initial code import

File size: 1.8 KB
Line 
1#!/bin/sh
2# first version (Sept 2003) written by Shiro Yamada <[email protected]>
3# based on the first verion (March 2002) of installdat.sh written by Herb Lewis
4
5DESTDIR=$1
6MSGDIR=`echo $2 | sed 's/\/\//\//g'`
7SRCDIR=$3/
8shift
9shift
10shift
11
12case $0 in
13 *uninstall*)
14 if test ! -d "$DESTDIR/$MSGDIR"; then
15 echo "Directory $DESTDIR/$MSGDIR does not exist! "
16 echo "Do a "make installmsg" or "make install" first. "
17 exit 1