devuan: fix failing move of freeswitch music

This commit is contained in:
Valentin Kleibel 2022-04-06 16:53:14 +02:00
parent f05920faa7
commit dc9bab6b30
1 changed files with 1 additions and 2 deletions

View File

@ -44,8 +44,7 @@ apt-get install -y libyuv-dev
#remove the music package to protect music on hold from package updates
mkdir -p /usr/share/freeswitch/sounds/temp
mv /usr/share/freeswitch/sounds/music/*000 /usr/share/freeswitch/sounds/temp
mv /usr/share/freeswitch/sounds/music/default/*000 /usr/share/freeswitch/sounds/temp
apt-get remove -y freeswitch-music-default
mkdir -p /usr/share/freeswitch/sounds/music/default
mv /usr/share/freeswitch/sounds/temp/* /usr/share/freeswitch/sounds/music/default
mv -u /usr/share/freeswitch/sounds/temp/* /usr/share/freeswitch/sounds/music/default
rm -R /usr/share/freeswitch/sounds/temp