mirror of
https://github.com/YunoHost-Apps/mopidy_ynh.git
synced 2024-09-03 19:46:21 +02:00
[fix] install script
This commit is contained in:
parent
470b01ce0f
commit
b8722a63e1
1 changed files with 5 additions and 5 deletions
|
@ -99,7 +99,7 @@ sudo chown -R www-data $final_path
|
|||
|
||||
# Copy config mopidy
|
||||
sudo cp ../conf/mopidy.conf /usr/share/mopidy/conf.d/
|
||||
sudo mkdir /root/.config/mopidy
|
||||
sudo mkdir -p /root/.config/mopidy
|
||||
# File required for command line 'mopidy local scan'
|
||||
sudo cp ../conf/mopidy.conf /root/.config/mopidy/
|
||||
# Copy music file for the test
|
||||
|
@ -122,11 +122,11 @@ sudo systemctl status mopidy
|
|||
# Delete directory and file mopidy configuration
|
||||
# Mopidy create this directory after install
|
||||
# but this files create a conflit with a mopidy configuration.
|
||||
sudo rm -fr /root/.cache/mopidy
|
||||
sudo rm -fr /root/.config/mopidy
|
||||
sudo rm -fr /root/.local/share/mopidy
|
||||
SECURE_REMOVE '/root/.cache/$app'
|
||||
SECURE_REMOVE '/root/.config/$app'
|
||||
SECURE_REMOVE '/root/.local/share/$app'
|
||||
|
||||
## Install mopidy-musicbox-webclient
|
||||
# Install mopidy-musicbox-webclient
|
||||
pushd /opt
|
||||
sudo git clone https://github.com/pimusicbox/mopidy-musicbox-webclient
|
||||
pushd mopidy-musicbox-webclient
|
||||
|
|
Loading…
Add table
Reference in a new issue