freebsd-ports/sysutils/moosefs-chunkserver/files/pkg-deinstall.in
Wen Heping 635b901ad6 MooseFS is a fault tolerant, network distributed file system.
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)
2010-04-07 03:00:06 +00:00

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