You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/bash
|
|
|
|
set -x
|
|
|
|
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 |