mirror of
				https://github.com/vmstan/gravity-sync.git
				synced 2025-11-04 01:26:59 -05:00 
			
		
		
		
	2.2.2
This commit is contained in:
		
							parent
							
								
									986f1092e9
								
							
						
					
					
						commit
						82b7d887cc
					
				@ -18,7 +18,7 @@ Download the latest release from [GitHub](https://github.com/vmstan/gravity-sync
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
```bash
 | 
					```bash
 | 
				
			||||||
cd ~
 | 
					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
 | 
					unzip v2.2.1.zip -d gravity-sync
 | 
				
			||||||
cd gravity-sync
 | 
					cd gravity-sync
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
				
			|||||||
@ -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. 🤷♂️
 | 
					- 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.
 | 
					- 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
 | 
					#### 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.
 | 
					- Corrects issue with Smart Sync where it would fail if there was no `custom.list` already present on the local Pi-hole.
 | 
				
			||||||
 | 
				
			|||||||
@ -1997,15 +1997,12 @@ function backup_remote_gravity {
 | 
				
			|||||||
function backup_remote_custom {
 | 
					function backup_remote_custom {
 | 
				
			||||||
	if [ "$SKIP_CUSTOM" != '1' ]
 | 
						if [ "$SKIP_CUSTOM" != '1' ]
 | 
				
			||||||
	then	
 | 
						then	
 | 
				
			||||||
		if [ -f ${PIHOLE_DIR}/${CUSTOM_DNS} ]
 | 
					 | 
				
			||||||
		then
 | 
					 | 
				
			||||||
			MESSAGE="Performing Backup of Remote ${CUSTOM_DNS}"
 | 
								MESSAGE="Performing Backup of Remote ${CUSTOM_DNS}"
 | 
				
			||||||
			echo_stat
 | 
								echo_stat
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
			CMD_TIMEOUT='15'
 | 
								CMD_TIMEOUT='15'
 | 
				
			||||||
			CMD_REQUESTED="sudo cp ${PIHOLE_DIR}/${CUSTOM_DNS} ${PIHOLE_DIR}/${CUSTOM_DNS}.backup"
 | 
								CMD_REQUESTED="sudo cp ${PIHOLE_DIR}/${CUSTOM_DNS} ${PIHOLE_DIR}/${CUSTOM_DNS}.backup"
 | 
				
			||||||
				create_sshcmd
 | 
									create_sshcmd
 | 
				
			||||||
		fi
 | 
					 | 
				
			||||||
	fi
 | 
						fi
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user