]> git.donarmstrong.com Git - bin.git/blobdiff - new_home_directory
only move the file if it's not the same
[bin.git] / new_home_directory
index 69242342bea243384431760f35910ca523cc312c..706c1cb9562aa593dad3b39ae6c1b0b40ce427bc 100755 (executable)
@@ -5,7 +5,7 @@
 
 
 # makes a new home directory; defaults to one that does not use ssh
-GIT_BASE=http://git.donarmstrong.com/
+GIT_BASE=https://git.donarmstrong.com/
 
 if [ "$1" = "ssh" ]; then
     GIT_BASE=git+ssh://git.donarmstrong.com/srv/git/
@@ -24,11 +24,12 @@ for pkg in mr vcsh; do
          else
              # ok, this host isn't Debian.
              if [ "$pkg" == "mr" ]; then
-                 wget http://http.debian.net/debian/pool/main/m/mr/mr_1.16_all.deb
+                 wget http://http.debian.net/debian/pool/main/m/myrepos/myrepos_1.20160123_all.deb
+                 ar p myrepos*.deb data.tar.xz|xz --decompress|tar -x
              elif [ "$pkg" == "vcsh" ]; then
-                 wget http://http.debian.net/debian/pool/main/v/vcsh/vcsh_1.20150502-1_all.deb
+                 wget http://http.debian.net/debian/pool/main/v/vcsh/vcsh_1.20151229-1_all.deb
+                 ar p vcsh*.deb data.tar.xz|xz --decompress|tar -x
              fi;
-             ar p $pkg*.deb|tar -jx;
              
          fi;
         );
@@ -57,7 +58,7 @@ for a in lib bin; do
     fi;
 done;
 
-if [ "$1" == "ssh" ]; then
+if [ "$1" = "ssh" ]; then
     mkdir -p .config/;
     (cd .config/;
         git checkout git+ssh://git.donarmstrong.com/srv/git_private/mr.git