#!/bin/sh

olddir=/usr/share/freeswitch/scripts
if [ -d "$olddir" ] && ! [ -d /etc/freeswitch/scripts ]; then
	echo "NOTE: Moving scripts to /etc/freeswitch/scripts"
	mkdir -p /etc/freeswitch
	mv  "$olddir" /etc/freeswitch
fi

# ignore errors
exit 0