Skip to content

Commit

Permalink
fixes bug with .gpg-id touch
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylvain Maucourt committed Mar 1, 2022
1 parent c6c03b8 commit 68a348b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion leeloo/lib/leeloo/keystore.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class PrivateLocalFileSystemKeystore < Keystore
def initialize name, path
super name
@path = path
File.write("#{@path}/.gpg-id", 'empty')
File.write("#{@path}/.gpg-id", 'empty') unless File.exist? "#{@path}/.gpg-id"
FileUtils.mkdir_p "#{@path}/secrets"
end

Expand Down
2 changes: 1 addition & 1 deletion leeloo/lib/leeloo/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module Leeloo
VERSION = '0.5.3'.freeze
VERSION = '0.5.4'.freeze
DESCRIPTION = "The easiest way to share securely your secrets".freeze
end

0 comments on commit 68a348b

Please sign in to comment.