Sfoglia il codice sorgente

Ownership of background image

Bob Mottram 8 anni fa
parent
commit
dc2c19e73f
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1
    0
      src/freedombone-utils-gnusocialtools

+ 1
- 0
src/freedombone-utils-gnusocialtools Vedi File

132
 
132
 
133
         if [ -d /var/www/${domain_name}/htdocs/static ]; then
133
         if [ -d /var/www/${domain_name}/htdocs/static ]; then
134
             cp bg_custom.${ext} static/bg_custom.${ext}
134
             cp bg_custom.${ext} static/bg_custom.${ext}
135
+            chown www-data:www-data static/bg_custom.${ext}
135
             sed -i "s|\"background\":.*|\"background\": \"/static/bg_custom.${ext}\",|g" static/config.json
136
             sed -i "s|\"background\":.*|\"background\": \"/static/bg_custom.${ext}\",|g" static/config.json
136
         fi
137
         fi
137
 
138