source:
trunk/samba-3.0.25pre1/source/script/installmsg.sh@
1
| Last change on this file since 1 was 1, checked in by , 19 years ago | |
|---|---|
| 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 | |
| 5 | DESTDIR=$1 |
| 6 | MSGDIR=`echo $2 | sed 's/\/\//\//g'` |
| 7 | SRCDIR=$3/ |
| 8 | shift |
| 9 | shift |
| 10 | shift |
| 11 | |
| 12 | case $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 |
