From c91f8ac461641baac3678b654e8cf440affe7223 Mon Sep 17 00:00:00 2001 From: Samuel Vasko Date: Tue, 31 Dec 2013 16:12:12 +0100 Subject: [PATCH] Conditional delete --- pack.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pack.rb b/pack.rb index 506e1cd..e93d800 100644 --- a/pack.rb +++ b/pack.rb @@ -27,7 +27,7 @@ end version = `git describe --abbrev=0 --tags` FileUtils.touch('Version ' + version.chomp) -FileUtils.rm('config/.history') +FileUtils.rm('config/.history') if File.exists?('config/.history') Dir.chdir('..')