#!/bin/sh
PKG_USERCONF_DIR="/usr/syno/etc/packages/VPNCenter"

# Real uninstall
if [ "x$SYNOPKG_PKG_STATUS" != "xUPGRADE" ]; then
	if [ "x$pkgwizard_remove_synovpn_db" = "xtrue" ]; then
		# Remove user config dir
		rm -rf ${PKG_USERCONF_DIR}
	fi
fi

exit 0
