#!/bin/sh
# Copyright (c) 2000-2014 Synology Inc. All rights reserved.

. `dirname $0`/string_loader

if [ "$SYNOPKG_PKG_STATUS" = "UPGRADE" ]; then
	exit 0
fi

# Check existence of website root
if [ -e "/var/services/web/MediaWiki" ]; then
	echo $err_path_exist > $SYNOPKG_TEMP_LOGFILE
	exit 1
fi
exit 0
