2021-08-09 22:41:53 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2021-12-09 17:16:40 +00:00
|
|
|
set -x
|
|
|
|
|
2021-08-09 22:41:53 +00:00
|
|
|
if test -f "/var/backups/config/config.orig"; then
|
|
|
|
|
|
|
|
rm /var/backups/config/config.php
|
|
|
|
mv /var/backups/config/config.orig /var/backups/config/config.php
|
|
|
|
chown www-data:root /var/backups/config/config.php
|
|
|
|
touch /var/backups/config/config.php
|
|
|
|
|
|
|
|
fi
|