Sign. Part 1
This commit is contained in:
@@ -17,6 +17,22 @@ class RPMReader
|
||||
end
|
||||
end
|
||||
|
||||
class RepoManagerKeys
|
||||
attr :path, :error
|
||||
|
||||
def initialize(path)
|
||||
@error = nil
|
||||
@path = path
|
||||
end
|
||||
|
||||
def check_key_exists()
|
||||
key_file = File.join(@path, "public", "mockgui-gpg-key")
|
||||
File.exist?(key_file)
|
||||
end
|
||||
end
|
||||
|
||||
#rpm --define "_gpg_sign_cmd_extra_args --pinentry-mode loopback --passphrase 1234" --addsign bayrepo-neuro-farm-0.1-2.x86_64.rpm
|
||||
|
||||
class RepoManager
|
||||
attr :path, :error, :last_status, :last_pid
|
||||
|
||||
|
||||
Reference in New Issue
Block a user