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

. `dirname $0`/common

[ "$SYNOPKG_PKG_STATUS" = "UPGRADE" ] && exit 0

# Check existence of website root
if [ -e "$WEBSITE_ROOT" ]; then
	echo ${wizard_website_root_exist} >> ${SYNOPKG_TEMP_LOGFILE}
	exit 1
fi

exit 0

