Skip to content
Browse files

remove zip file when overwritting

  • Loading branch information...
1 parent 46df0cc commit 6680ab18541a7a5ca8cb91b4c1f2608a938085be @guedes committed Apr 15, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/pgxn_utils/no_tasks.rb
View
1 lib/pgxn_utils/no_tasks.rb
@@ -145,6 +145,7 @@ def can_zip?(archive)
if File.exists?(archive)
say_status :conflict, archive, :red
if yes? "Overwrite #{archive}? [yN]"
+ FileUtils.rm_f archive
can_zip = true
else
can_zip = false

0 comments on commit 6680ab1

Please sign in to comment.
Something went wrong with that request. Please try again.