]> git.donarmstrong.com Git - bin.git/commitdiff
update new home directory
authorDon Armstrong <don@donarmstrong.com>
Wed, 20 Nov 2013 23:19:25 +0000 (15:19 -0800)
committerDon Armstrong <don@donarmstrong.com>
Wed, 20 Nov 2013 23:19:25 +0000 (15:19 -0800)
new_home_directory

index f5e1f5e0816b80872241fb693a25cc4b620f3c99..5c83ae177e435f049c6cbc5cbe577acc46a85db7 100755 (executable)
@@ -25,6 +25,17 @@ for pkg in mr vcsh; do
     fi;
 done;
 
+# .config is currently a link; this indicates that we are dealing with my old configuration system
+if [ -L .config ]; then
+    mv .config .config_bak;
+    mkdir -p .config;
+    cp -r .config_bak/* .config/;
+fi;
+
+if [ -d lib/.svn ]; then
+    mv lib/.svn lib/.svn_bak;
+fi;
+
 if [ "$1" = "ssh" ]; then
     mkdir -p .config/;
     (cd .config/;