Conditional delete

This commit is contained in:
Samuel Vasko 2013-12-31 16:12:12 +01:00
parent c43ad3cb40
commit c91f8ac461

View File

@ -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('..')