diff options
| -rw-r--r-- | AUTHORS | 3 | ||||
| -rw-r--r-- | ChangeLog | 1 | ||||
| -rw-r--r-- | handlers/rdiff | 4 | 
3 files changed, 5 insertions, 3 deletions
@@ -21,4 +21,5 @@ garcondumonde@riseup.net  Martin Krafft madduck@debian.org -- admingroup patch  Anarcat -- lotsa patches  Jamie McClelland -- cstream patches -ale -- ldap cleanup
\ No newline at end of file +ale -- ldap cleanup +Sami Haahtinen <ressu@ressukka.net>
\ No newline at end of file @@ -24,6 +24,7 @@ version 0.9.5 -- unreleased  	rdiff:  	 . Added cstream support to allow for bandwidth limiting  	 . Handle "keep = yes" to disable old backups removal (Closes: #424633) +	 . Ignore rdiff-backup minor versions (thanks Sami Haahtinen)  	rub  	 . Fixed typo in rub handler that caused it to not work  	 . Changed to use lib/vserver code diff --git a/handlers/rdiff b/handlers/rdiff index 52637cd..46cae49 100644 --- a/handlers/rdiff +++ b/handlers/rdiff @@ -32,12 +32,12 @@ function get_version() {  	# if user or host is missing, returns the local version.  	if [ "$#" -lt 2 ]; then  		debug "$RDIFFBACKUP -V" -		echo `$RDIFFBACKUP -V` +                echo `$RDIFFBACKUP -V | cut -d. -f1,2`  	else  		local user=$1  		local host=$2  		debug "ssh $sshoptions $host -l $user '$RDIFFBACKUP -V'" -		echo `ssh $sshoptions $host -l $user "$RDIFFBACKUP -V | grep rdiff-backup"` +                echo `ssh $sshoptions $host -l $user "$RDIFFBACKUP -V | grep rdiff-backup | cut -d. -f1,2"`  	fi  }  | 
