فهرست منبع

music move script to move music from music/rate to music/default/rate

Richard Neese 10 سال پیش
والد
کامیت
6dd2d30071
1فایلهای تغییر یافته به همراه12 افزوده شده و 0 حذف شده
  1. 12 0
      upgrade/move-music-defalt.sh

+ 12 - 0
upgrade/move-music-defalt.sh

@@ -0,0 +1,12 @@
+#!/bin/bash
+if [ -d /usr/local/freeswitch/sounds/music/default ]; then
+mv /usr/local/freeswitch/sounds/music/default /usr/local/freeswitch/sounds/music/default-custom
+fi
+if [ -d /usr/local/freeswitch/sounds/music/8000 ]; then
+mkdir /usr/local/freeswitch/sounds/music/default
+mv /usr/local/freeswitch/sounds/music/8000 /usr/local/freeswitch/sounds/music/default
+mv /usr/local/freeswitch/sounds/music/16000 /usr/local/freeswitch/sounds/music/default
+mv /usr/local/freeswitch/sounds/music/32000 /usr/local/freeswitch/sounds/music/default
+mv /usr/local/freeswitch/sounds/music/48000 /usr/local/freeswitch/sounds/music/default
+chown -R www-data:www-data /usr/local/freeswitch/sounds/music/default
+fi