#!/bin/sh

# before packs update scripts
cd "${INSTALL_PATH}"

./servicestop.sh
./servicedelete.sh

rm -f *.sh
rm -f *.conf
rm -f node*
rm -f LICENSE.txt
rm -rf node_modules
if [ -f "SAGE ERP X3 EULA FR".txt ]; then rm -f "SAGE ERP"*.txt; fi
if [ -f "SAGE ERP X3 EULA FR".htm ]; then rm -f "SAGE ERP"*.htm; fi

exit 0