summaryrefslogtreecommitdiffstats
path: root/main/freeswitch/freeswitch.pre-upgrade
blob: b2c361bed2dcbb40a3d5e4864fe7842405d9a86e (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/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