fix reference to MONKEYSPHER_USER in ma/setup
authorJameson Graef Rollins <jrollins@finestructure.net>
Thu, 12 Feb 2009 21:17:00 +0000 (16:17 -0500)
committerJameson Graef Rollins <jrollins@finestructure.net>
Thu, 12 Feb 2009 21:17:00 +0000 (16:17 -0500)
src/monkeysphere-host
src/share/ma/setup

index 4aab995950e89ed1323275431594023810503da8..f79c2bb064714f7c40b1cf65230b2f866af7675c 100755 (executable)
@@ -123,6 +123,9 @@ create_gpg_pub_file() {
 
 # load the host fingerprint into the fingerprint variable, using the
 # export gpg pub key file
+# FIXME: this seems much less than ideal, with all this temp keyring
+# stuff.  is there a way we can do this without having to create temp
+# files?
 load_fingerprint() {
     if [ -f "$HOST_KEY_PUB_GPG" ] ; then
        HOST_FINGERPRINT=$( \
index 894db8449d22cfb9a0b195533820c894dd7cc51b..0cd92e0d8bc87134df43ec1d84dc5247805eebe2 100644 (file)
@@ -40,10 +40,10 @@ primary-keyring ${GNUPGHOME_SPHERE}/pubring.gpg
 list-options show-uid-validity
 EOF
 
-    # make sure the monkeysphere user owns everything in th sphere
+    # make sure the monkeysphere user owns everything in the sphere
     # gnupghome
-    chown -R "$MONKEYPSHER_USER" "${GNUPGHOME_SPHERE}"
-    chgrp -R "$MONKEYPSHER_USER" "${GNUPGHOME_SPHERE}"
+    chown -R "$MONKEYPSHERE_USER" "${GNUPGHOME_SPHERE}"
+    chgrp -R "$MONKEYPSHERE_USER" "${GNUPGHOME_SPHERE}"
 
     # get fingerprint of core key.  this should be empty on unconfigured systems.
     local CORE_FPR=$(gpg_core --with-colons --fixed-list-mode --fingerprint --list-secret-key | grep ^fpr: | cut -f10 -d: )