From c7f9dca296c1072ca398090370572e797a747ef9 Mon Sep 17 00:00:00 2001 From: markjcrane Date: Tue, 23 Aug 2016 00:52:24 +0000 Subject: [PATCH] Add source-to-package.sh --- debian/resources/switch/source-to-package.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 debian/resources/switch/source-to-package.sh 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