Merge pull request #757 in FS/freeswitch from ~HANSMI/freeswitch:fs-8948 to master
* commit '3b4b839ed47fd089db82e2b1c709f894d622823d': FS-8948 #resolve Handle non-existent config in Debian postinst
This commit is contained in:
commit
8fdd4f3af7
|
@ -31,7 +31,9 @@ case "$1" in
|
||||||
done
|
done
|
||||||
if [ ! -d "/etc/freeswitch" ]; then
|
if [ ! -d "/etc/freeswitch" ]; then
|
||||||
mkdir -p /etc/freeswitch/
|
mkdir -p /etc/freeswitch/
|
||||||
cp -a /usr/share/freeswitch/conf/vanilla/* /etc/freeswitch/
|
if [ -e /usr/share/freeswitch/conf/vanilla/freeswitch.xml ]; then
|
||||||
|
cp -a /usr/share/freeswitch/conf/vanilla/* /etc/freeswitch/
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
if [ ! -d "/etc/freeswitch/tls" ]; then
|
if [ ! -d "/etc/freeswitch/tls" ]; then
|
||||||
mkdir -p /etc/freeswitch/tls/
|
mkdir -p /etc/freeswitch/tls/
|
||||||
|
|
Loading…
Reference in New Issue