diff --git a/debian/resources/switch/source-to-package.sh b/debian/resources/switch/source-to-package.sh new file mode 100755 index 0000000..706550c --- /dev/null +++ b/debian/resources/switch/source-to-package.sh @@ -0,0 +1,5 @@ +#move source files to package directories +cp -R /usr/local/freeswitch/conf /etc/freeswitch +cp -R /usr/local/freeswitch/recordings/* /var/lib/freeswitch/recordings +cp -R /usr/local/freeswitch/storage/* /var/lib/freeswitch/storage +cp -R /usr/local/freeswitch/scripts/* /usr/share/freeswitch/scripts