Upgrading pleroma background
This commit is contained in:
parent
631a35d62e
commit
ecf69ddd7f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue