source: branches/samba-3.3.x/source/script/installmsg.sh

Last change on this file was 206, checked in by Herwig Bauernfeind, 17 years ago

Import Samba 3.3 branch at 3.0.0 level (psmedley's port)

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
18 fi