Compare commits
	
		
			2 Commits
		
	
	
		
			a734bbf83b
			...
			60ab5840ba
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 60ab5840ba | |||
| de8c7de945 | 
@@ -39,7 +39,7 @@ LOG_FILE=$LOG_DIR/$DATE.log
 | 
				
			|||||||
LIMIT=5
 | 
					LIMIT=5
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Because cron fucks our env, and loading /etc/bashrc doesn't always fix it
 | 
					## Because cron fucks our env, and loading /etc/bashrc doesn't always fix it
 | 
				
			||||||
alias btrfs='/usr/bin/btrfs'
 | 
					alias btrfs='/usr/sbin/btrfs'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## The subvols that we want to backup
 | 
					## The subvols that we want to backup
 | 
				
			||||||
### <actual-directory>:<name-of-backup-dir>
 | 
					### <actual-directory>:<name-of-backup-dir>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -27,7 +27,7 @@ function log () {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function get_remote_version(){
 | 
					function get_remote_version(){
 | 
				
			||||||
	local REMOTE_VERSION=`curl $DOWNLOAD_URL | grep -Eo $VERSION_REGEX | head -n 1`
 | 
						local REMOTE_VERSION=`curl -s $DOWNLOAD_URL | grep -Eo $VERSION_REGEX | head -n 1` 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if [[ "$REMOTE_VERSION" ]]; then
 | 
						if [[ "$REMOTE_VERSION" ]]; then
 | 
				
			||||||
		echo "$REMOTE_VERSION"
 | 
							echo "$REMOTE_VERSION"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user