new msmktempdir function, to simplify making temporary directories. remove MHTMPDIR...
[monkeysphere.git] / src / share / mh / import_key
index d14fc13dbf0d485d5ebe47f4c683078d2d1d72a3..cca40fa09e7424af87f82a7f638901b052bf98b8 100644 (file)
@@ -39,7 +39,6 @@ userID="ssh://${hostName}"
 
 # create host home
 mkdir -p "${MHDATADIR}"
-mkdir -p "${MHTMPDIR}"
 mkdir -p "${GNUPGHOME_HOST}"
 chmod 700 "${GNUPGHOME_HOST}"
 
@@ -57,6 +56,8 @@ load_fingerprint_secret
 # export to gpg public key to file
 update_gpg_pub_file
 
+log info "host key imported:"
+
 # show info about new key
 show_key