+# run the appropriate command to set the symlinks correctly
+~/bin/sa --hooks-only update
+cat -<<EOF> .sa.d/sa_local
+~/bin
+~/lib
+EOF
+# move back the .ssh stuff
+if [ -e home_backup/.ssh ]; then
+ cp -f home_backup/.ssh/* .ssh/;
+fi;
+~/bin/sa update;
+# if there isn't already a .ssh/authorized_keys, symlink authorized_keys_default to it
+if [ ! -e .ssh/authorized_keys ]; then
+ (cd .ssh/; ln authorized_keys_default authorized_keys -s;)
+fi;