Explorar o código

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

Richard Neese %!s(int64=10) %!d(string=hai) anos
pai
achega
6dd2d30071
Modificáronse 1 ficheiros con 12 adicións e 0 borrados
  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