1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mopidy_ynh.git synced 2024-09-03 19:46:21 +02:00

Correction de bugs

This commit is contained in:
magikcypress 2017-03-08 01:57:37 +01:00
parent 3217cf0603
commit f446fb9129
3 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,6 @@
location __PATHTOCHANGE__ { location __PATHTOCHANGE__ {
alias __FINALPATH__/; alias __FINALPATH__/;
index index.html # index index.html
rewrite ^ $scheme://__DOMAINNAME__:6680/musicbox_webclient permanent; rewrite ^ $scheme://__DOMAINNAME__:6680/musicbox_webclient permanent;

View file

@ -87,6 +87,7 @@ sudo sed -i "s@__DOMAINNAME__@$domain@g" /etc/nginx/conf.d/$domain.d/$app.conf
sudo sed -i "s@__FINALPATH__@$final_path@g" /etc/nginx/conf.d/$domain.d/$app.conf sudo sed -i "s@__FINALPATH__@$final_path@g" /etc/nginx/conf.d/$domain.d/$app.conf
sudo cp ../conf/index.html $final_path sudo cp ../conf/index.html $final_path
sudo sed -i "s@__DOMAINNAME__@$domain@g" /etc/nginx/conf.d/$domain.d/$app.conf
# Copy config mopidy # Copy config mopidy
sudo cp ../conf/mopidy.conf /usr/share/mopidy/conf.d/ sudo cp ../conf/mopidy.conf /usr/share/mopidy/conf.d/

View file

@ -29,6 +29,7 @@ fi
if [ -d "/root/.local/share/$app" ]; then if [ -d "/root/.local/share/$app" ]; then
SECURE_REMOVE '/root/.local/share/$app' SECURE_REMOVE '/root/.local/share/$app'
fi fi
SECURE_REMOVE '/usr/local/bin/$app' SECURE_REMOVE '/usr/local/bin/$app'
SECURE_REMOVE '/usr/share/$app' SECURE_REMOVE '/usr/share/$app'
SECURE_REMOVE '/var/lib/$app' SECURE_REMOVE '/var/lib/$app'