Add a reminder to copy acct secrets over.
David Blume

David Blume commited on 2020-12-31 11:09:32
Showing 1 changed files, with 8 additions and 0 deletions.

... ...
@@ -90,6 +90,14 @@ if [ ! -d $HOME/.vim_undo ]; then
90 90
     ((DRY_RUN==0)) && mkdir -p $HOME/.vim_undo
91 91
 fi
92 92
 
93
+# I have device local secrets in .localrc and a github secret in .gitconfig.local
94
+for i in ".gitconfig.local" ".localrc"
95
+do
96
+    if [ ! -f $HOME/"$i" ]; then
97
+        echo Consider copying $i from a similar acct. \(\'touch \"\$HOME/$i\"\' to hide this msg.\)
98
+    fi
99
+done
100
+
93 101
 if [ $DRY_RUN -eq 0 ]; then
94 102
     echo Your old dotfiles are backed up to $backup_dir
95 103
     echo Done. Check http://config.dlma.com for more.
96 104