propellor spin
This commit is contained in:
parent
bf5663d545
commit
08bb77496f
|
@ -132,12 +132,11 @@ boot props = do
|
||||||
putStrLn $ toMarked statusMarker $ show $ if havering then HaveKeyRing else NeedKeyRing
|
putStrLn $ toMarked statusMarker $ show $ if havering then HaveKeyRing else NeedKeyRing
|
||||||
hFlush stdout
|
hFlush stdout
|
||||||
reply <- getContents
|
reply <- getContents
|
||||||
|
|
||||||
makePrivDataDir
|
makePrivDataDir
|
||||||
writeFileProtected privDataLocal $ fromMarked privDataMarker reply
|
writeFileProtected privDataLocal $ fromMarked privDataMarker reply
|
||||||
let keyringb64 = fromMarked keyringMarker reply
|
maybe noop (writeFileProtected keyring) $ fromB64Maybe $
|
||||||
case fromB64Maybe keyringb64 of
|
fromMarked keyringMarker reply
|
||||||
Nothing -> noop
|
|
||||||
Just s -> writeFileProtected keyring s
|
|
||||||
ensureProperties props
|
ensureProperties props
|
||||||
|
|
||||||
addKey :: String -> IO ()
|
addKey :: String -> IO ()
|
||||||
|
|
Loading…
Reference in New Issue