Bob Mottram 8 years ago
parent
commit
0886f73816
1 changed files with 2 additions and 3 deletions
  1. 2
    3
      src/freedombone-utils-gnusocialtools

+ 2
- 3
src/freedombone-utils-gnusocialtools View File

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