This commit is contained in:
Michael Stanclift 2020-10-01 15:26:35 -05:00
parent 986f1092e9
commit 82b7d887cc
4 changed files with 6 additions and 5 deletions

View File

@ -18,7 +18,7 @@ Download the latest release from [GitHub](https://github.com/vmstan/gravity-sync
```bash
cd ~
wget https://github.com/vmstan/gravity-sync/archive/v2.2.1.zip
wget https://github.com/vmstan/gravity-sync/archive/v2.2.2.zip
unzip v2.2.1.zip -d gravity-sync
cd gravity-sync
```

View File

@ -13,6 +13,10 @@ This release also adds the `./gravity-sync.sh purge` function that will totally
- I found a markdown spellcheck utility for Visual Studio Code, and ran it against all my markdown files. I'm sorry, I don't spell good. 🤷‍♂️
- New Star Trek references.
#### 2.2.2
- Corrects another logical problem that prevented `custom.list` from being backed up and replicated, if it didn't already exist on the local Pi-hole.
#### 2.2.1
- Corrects issue with Smart Sync where it would fail if there was no `custom.list` already present on the local Pi-hole.

View File

@ -1 +1 @@
2.2.1
2.2.2

View File

@ -1997,15 +1997,12 @@ function backup_remote_gravity {
function backup_remote_custom {
if [ "$SKIP_CUSTOM" != '1' ]
then
if [ -f ${PIHOLE_DIR}/${CUSTOM_DNS} ]
then
MESSAGE="Performing Backup of Remote ${CUSTOM_DNS}"
echo_stat
CMD_TIMEOUT='15'
CMD_REQUESTED="sudo cp ${PIHOLE_DIR}/${CUSTOM_DNS} ${PIHOLE_DIR}/${CUSTOM_DNS}.backup"
create_sshcmd
fi
fi
}