From ecf69ddd7f78b2e6019a650cf0765da841432f65 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 17 Apr 2017 12:36:56 +0100 Subject: [PATCH] Upgrading pleroma background --- src/freedombone-utils-gnusocialtools | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/freedombone-utils-gnusocialtools b/src/freedombone-utils-gnusocialtools index 3cd49ae7..c4de39ae 100755 --- a/src/freedombone-utils-gnusocialtools +++ b/src/freedombone-utils-gnusocialtools @@ -273,6 +273,9 @@ function upgrade_pleroma { if [ -f /var/www/${domain_name}/htdocs/static/logo.png ]; then cp /var/www/${domain_name}/htdocs/static/logo.png /var/www/${domain_name}/htdocs/static/logo.png.old fi + if [ -f /var/www/${domain_name}/htdocs/static/bg.jpg ]; then + cp /var/www/${domain_name}/htdocs/static/bg.jpg /var/www/${domain_name}/htdocs/static/bg.jpg.old + fi if [ -f /var/www/${domain_name}/htdocs/static/config.json ]; then cp /var/www/${domain_name}/htdocs/static/config.json /var/www/${domain_name}/htdocs/static/config.json.old fi @@ -284,6 +287,9 @@ function upgrade_pleroma { if [ -f /var/www/${domain_name}/htdocs/static/logo.png.old ]; then cp /var/www/${domain_name}/htdocs/static/logo.png.old /var/www/${domain_name}/htdocs/static/logo.png fi + if [ -f /var/www/${domain_name}/htdocs/static/bg.jpg.old ]; then + cp /var/www/${domain_name}/htdocs/static/bg.jpg.old /var/www/${domain_name}/htdocs/static/bg.jpg + fi if [ -f /var/www/${domain_name}/htdocs/index.php ]; then mv /var/www/${domain_name}/htdocs/index.php /var/www/${domain_name}/htdocs/index_qvitter.php