Bob Mottram 8 лет назад
Родитель
Сommit
baa8c80701
1 измененных файлов: 4 добавлений и 4 удалений
  1. 4
    4
      src/freedombone-utils-gnusocialtools

+ 4
- 4
src/freedombone-utils-gnusocialtools Просмотреть файл

157
 
157
 
158
 function install_pleroma {
158
 function install_pleroma {
159
     app_name="$1"
159
     app_name="$1"
160
-    pleroma_domain="$1"
161
-    background_url="$2"
162
-    title="$3"
160
+    pleroma_domain="$2"
161
+    background_url="$3"
162
+    title="$4"
163
 
163
 
164
     if [ ! -d ~/build/pleroma ]; then
164
     if [ ! -d ~/build/pleroma ]; then
165
         function_check git_clone
165
         function_check git_clone
184
     mv ~/build/pleroma/dist/index.html ~/build/pleroma/dist/pleroma.html
184
     mv ~/build/pleroma/dist/index.html ~/build/pleroma/dist/pleroma.html
185
     cp -r ~/build/pleroma/dist/* /var/www/$pleroma_domain/htdocs/
185
     cp -r ~/build/pleroma/dist/* /var/www/$pleroma_domain/htdocs/
186
 
186
 
187
-    gnusocial_set_background_image_from_url "$pleroma_domain" "$background_url" "$title"
187
+    pleroma_set_background_image_from_url "$pleroma_domain" "$background_url" "$title"
188
 
188
 
189
     nginx_site=/etc/nginx/sites-available/$pleroma_domain
189
     nginx_site=/etc/nginx/sites-available/$pleroma_domain
190
     sed -i 's|index index.php;|index pleroma.html;|g' $nginx_site
190
     sed -i 's|index index.php;|index pleroma.html;|g' $nginx_site