]> gitweb.fluxo.info Git - keyringer.git/commitdiff
Error handling for newkeys
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 20 Jun 2010 23:22:35 +0000 (20:22 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 20 Jun 2010 23:22:35 +0000 (20:22 -0300)
share/keyringer/newkeys

index 14fcfd10f7a28a59d4bb4c58d051007aa4e57095..95b052bf53bdc3be6a7c30695d1e30cd7a310e54 100755 (executable)
@@ -56,6 +56,10 @@ fi
 source $OPTIONS
 keyringer_config_load_preferences
 
+if [ -z "$PUPPET" ]; then
+  "Error: you have to setup PUPPET path at your preferences for this keyring."
+fi
+
 if [ -z "$PUPPET_KEYS" ]; then
   PUPPET_KEYS="$PUPPET/files/keys"
 fi