clean up gpg droppings

This commit is contained in:
Joey Hess 2014-04-03 12:20:42 -04:00
parent f2ebd06873
commit fc7b3893d1
1 changed files with 2 additions and 1 deletions

View File

@ -116,7 +116,8 @@ updateFirst cmdline next = do
modifyFileMode privDataDir (removeModes otherGroupModes)
s <- readProcessEnv "git" ["log", "-n", "1", "--format=%G?", originbranch]
(Just [("GNUPGHOME", privDataDir)])
nukeFile $ privDataDir </> "trustring.gpg"
nukeFile $ privDataDir </> "trustdb.gpg"
nukeFile $ privDataDir </> "pubring.gpg"
nukeFile $ privDataDir </> "gpg.conf"
if s == "U\n" || s == "G\n"
then do