From 903e4157001b4e05ec6ed70ffacb75634e67f8ae Mon Sep 17 00:00:00 2001 From: James Hannah Date: Wed, 2 Jul 2014 10:10:40 +0100 Subject: Change Dir::exists? to File::directory? for ruby1.8 --- byteback-backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/byteback-backup b/byteback-backup index 346dd5d..b5050bc 100755 --- a/byteback-backup +++ b/byteback-backup @@ -107,7 +107,7 @@ rescue => err end # Check the lockfile first -if Dir.exists?(File.dirname(@lockfile)) +if File.directory?(File.dirname(@lockfile)) if File.exists? @lockfile # check the lockfile is sane exist_pid = File.read(@lockfile).to_i -- cgit v1.2.3 From 22219479aff2cc0c6443ee2581d76d27744f6653 Mon Sep 17 00:00:00 2001 From: James Hannah Date: Wed, 2 Jul 2014 10:20:30 +0100 Subject: Updated changelog, bumped version to 0.2.3 --- debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/changelog b/debian/changelog index 51bd8ed..206b8fb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +byteback (0.2.3-1) stable; urgency=medium + + * Added lockfile to stop >1 backup running at once + + -- James Hannah Wed, 02 Jul 2014 10:19:11 +0100 + byteback (0.2.2-1) stable; urgency=medium * Updated byteback not to use --one-filesystem flag. -- cgit v1.2.3 From 4ce8b13d4e900698e30b797780fe7a971db57df5 Mon Sep 17 00:00:00 2001 From: James Hannah Date: Wed, 2 Jul 2014 10:59:07 +0100 Subject: Fixed an issue with byteback-snapshot --- byteback-snapshot | 2 +- debian/changelog | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/byteback-snapshot b/byteback-snapshot index 37fae68..8ea6035 100755 --- a/byteback-snapshot +++ b/byteback-snapshot @@ -150,7 +150,7 @@ class BackupDirectory protected def system_no_error(*args) - args += " > /dev/null" unless @verbose + args[-1] += " > /dev/null" unless @verbose raise RuntimeError.new("Command failed: "+args.join(" ")) unless system(*args) end diff --git a/debian/changelog b/debian/changelog index 206b8fb..28ab08e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +byteback (0.2.4-1) stable; urgency=medium + + * Fixed a bug[?] with byteback-snapshot + + -- James Hannah Wed, 02 Jul 2014 10:58:22 +0100 + byteback (0.2.3-1) stable; urgency=medium * Added lockfile to stop >1 backup running at once -- cgit v1.2.3