mirror of
https://github.com/cmderdev/cmder.git
synced 2025-04-18 07:32:30 +08:00
Conditional delete
This commit is contained in:
parent
c43ad3cb40
commit
c91f8ac461
2
pack.rb
2
pack.rb
@ -27,7 +27,7 @@ end
|
|||||||
version = `git describe --abbrev=0 --tags`
|
version = `git describe --abbrev=0 --tags`
|
||||||
|
|
||||||
FileUtils.touch('Version ' + version.chomp)
|
FileUtils.touch('Version ' + version.chomp)
|
||||||
FileUtils.rm('config/.history')
|
FileUtils.rm('config/.history') if File.exists?('config/.history')
|
||||||
|
|
||||||
Dir.chdir('..')
|
Dir.chdir('..')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user