#!/bin/sh

if [ "$1" == "remove" || "$1" == "purge" ] # do not clean if upgrading
then
	#cleaning the installed libs
	rm -r /opt/meecolay/lib/ /opt/meecolay/bin/

	#recreating folders in case of failure
	mkdir /opt/meecolay/lib/ /opt/meecolay/bin/
fi
