]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7669 #resolve There was already a postinst file, and I missed it.
authorWilliam King <william.king@quentustech.com>
Thu, 18 Jun 2015 03:40:19 +0000 (20:40 -0700)
committerWilliam King <william.king@quentustech.com>
Thu, 18 Jun 2015 03:40:19 +0000 (20:40 -0700)
debian/freeswitch.postinst

index d2f3f8ac8763f17fb8dbe16c46670d26be09a138..10c121c1b4aaf11ee8b7e730ad10e188472bcfcf 100644 (file)
@@ -29,6 +29,10 @@ case "$1" in
       fi
       chown freeswitch $x
     done
+    if [ ! -d "/etc/freeswitch" ]; then
+       mkdir -p /etc/freeswitch/
+       cp -a /usr/share/freeswitch/conf/vanilla/* /etc/freeswitch/
+    fi
     ;;
   abort-upgrade|abort-remove|abort-deconfigure)
     ;;