#!/bin/sh
#********************************************************************#
#  Easy Bootstrap Installer - uninstall bootstrap                    #
#  Description: automatic bootstrap installer for synology nas       #
#  Author:      QTip from the german Synology support forum          #
#  Copyright:   2015 by QTip                                         #
#  License:     GNU GPLv3 (see LICENSE)                              #
#  ----------------------------------------------------------------  #
#  Version:     0.5 - 17/09/2015                                     #
#  for more information check the changelog                          #
#********************************************************************#

[ -f /tmp/${SYNOPKG_PKGNAME}.upgrade ] && exit 0

if [ "${pkgwizard_remove_bootstrap}" == "true" ] ; then
     if [ -x `/usr/bin/dirname $0`/remove_bootstrap ] ; then
          `/usr/bin/dirname $0`/remove_bootstrap
     else
          exit 1
     fi
fi
