mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-11-04 11:22:13 +08:00 
			
		
		
		
	Conditional delete
This commit is contained in:
		
							
								
								
									
										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('..')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user