forked from Lainports/freebsd-ports
mfschunkserver is any number of commodity servers storing files data and synchronizing it among themselves (if a certain file is supposed to exist in more than one copy). WWW: http://www.moosefs.org/ Submitted by: Chifeng Qu <chifeng@gmail.com> (via Email)
11 lines
211 B
Bash
11 lines
211 B
Bash
#!/bin/sh
|
|
# $FreeBSD$
|
|
|
|
PATH="/bin:/sbin:/usr/bin:/usr/sbin"
|
|
|
|
WORKDIR=%%MFS_WORKDIR%%/mfs
|
|
|
|
if [ "$2" = "POST-DEINSTALL" ]; then
|
|
echo "=> Deleting ${WORKDIR} if empty..."
|
|
rm -d ${WORKDIR} 2>/dev/null || true
|
|
fi
|