summaryrefslogtreecommitdiff
path: root/Propellor/CmdLine.hs
diff options
context:
space:
mode:
authorJoey Hess2014-04-03 12:20:42 -0400
committerJoey Hess2014-04-03 12:20:42 -0400
commitfc7b3893d1af13f5577cc1070318f077405d4acb (patch)
tree845a8c48729fc719bae047c4ad6a4a4f479a8ccd /Propellor/CmdLine.hs
parentf2ebd068739026718f11749e2c9d50002b13777e (diff)
clean up gpg droppings
Diffstat (limited to 'Propellor/CmdLine.hs')
-rw-r--r--Propellor/CmdLine.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Propellor/CmdLine.hs b/Propellor/CmdLine.hs
index ed762e70..6d7f862a 100644
--- a/Propellor/CmdLine.hs
+++ b/Propellor/CmdLine.hs
@@ -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