updated for new paths also, which revealed a few locations that are
authorChris Koeritz <fred@gruntose.com>
Sat, 16 Nov 2013 18:36:04 +0000 (13:36 -0500)
committerChris Koeritz <fred@gruntose.com>
Sat, 16 Nov 2013 18:36:04 +0000 (13:36 -0500)
really not generalized.  these should be replaced with variables.

scripts/archival/snarf_feisty_meow.pl
scripts/email/move_spams_and_check.sh
scripts/schedule/generate_reminders.pl
scripts/security/pick_credentials.sh
scripts/security/ssh.sh [changed mode: 0755->0644]

index 87a5c54670a9ba47fc9c78e885868f96b5799898..11172d0c02dc333a75c3263dd6578647365a332d 100644 (file)
@@ -40,7 +40,7 @@ local($root) = &canonicalize("$HOME/feisty_meow");
 # snarf up all the important directories.
 # CAK: current as of 2012-05-05.
 &backup_hierarchy($snarf_file_base, $number, $root, "customizing");
-&backup_hierarchy($snarf_file_base, $number, $root, "database");
+&backup_hierarchy($snarf_file_base, $number, $root, "infobase");
 &backup_hierarchy($snarf_file_base, $number, $root, "doc");
 &backup_hierarchy($snarf_file_base, $number, $root, "examples");
 &backup_hierarchy($snarf_file_base, $number, $root, "feisty_inits");
index 80d13fd62dce9cf8fb5fdcb0396f8b14dfe5406c..e4bfd43ad4d5de3b46db11bebdefb57333f1a899 100644 (file)
@@ -14,7 +14,7 @@ SPAM_SPOOL="/var/spool/sa-exim"
 SPAM_HOLD="$HOME/spamcrud"
 # the white list needs to be a file of good email addresses that will
 # probably never send spam.  it should be formatted one address to a line.
-EMAIL_WHITE_LIST="$HOME/cloud/database/lists/email_addresses.txt"
+EMAIL_WHITE_LIST="$HOME/cloud/infobase/lists/email_addresses.txt"
 # we'll save a report of the spam checks in the file below.
 REPORT_FILE="$HOME/spam_check_report_$(date_stringer).txt"
 
index e8d8356ee050e863796dcb930e59af68349d0acb..e48ff584deb9aefa91522521212719259bc6dabd 100644 (file)
@@ -43,7 +43,7 @@ local($CAL_FILE);
 if (! $CAL_FILE) {
 #  print "the CAL_FILE variable is not set.\n";
 #  print "defaulting it to a value that probably does not suit you.\n";
-  $CAL_FILE = "$CLOUD_DIR/database/lists/calendar.dat";
+  $CAL_FILE = "$CLOUD_DIR/infobase/lists/calendar.dat";
 }
 
 #print "calfile is $CAL_FILE\n";
index b8f0696fc6e68a0257d2cd0146a32ff44171f7fd..8b4b55e6aef74c1ee85f1e1f3f000c7d5fd7b217 100644 (file)
@@ -12,3 +12,6 @@ if [ ! -z "$(echo $* | grep -i sourceforge)" ]; then
   keyfile="$HOME/.ssh/id_dsa_sourceforge"
 fi
 
+if [ ! -f "$keyfile" ]; then
+  unset keyfile
+fi
old mode 100755 (executable)
new mode 100644 (file)
index 48add71..064ecf8
@@ -4,7 +4,11 @@
 
 source "$FEISTY_MEOW_SCRIPTS/security/pick_credentials.sh"
 
-\ssh -i "$keyfile" -X $*
+if [ ! -z "$keyfile" ]; then
+  \ssh -i "$keyfile" -X $*
+else
+  \ssh -X $*
+fi
 
 if [ $? -eq 0 ]; then
   # we don't want to emit anything extra if this is being driven by git.