]> git.donarmstrong.com Git - bin.git/commitdiff
use the no-hooks in new_home_directory
authorDon Armstrong <don@donarmstrong.com>
Sun, 7 May 2006 07:50:44 +0000 (07:50 +0000)
committerDon Armstrong <don@donarmstrong.com>
Sun, 7 May 2006 07:50:44 +0000 (07:50 +0000)
new_home_directory

index 6bd7b3d27f255be631bda5fee845e969811a62da..2233e3c6be03371c18aa3c56ecb1df16fec6d32e 100755 (executable)
@@ -19,13 +19,15 @@ mkdir .home_modules;
 )
 # make a home backup directory
 mkdir home_backup;
 )
 # make a home backup directory
 mkdir home_backup;
-mv .wgetrc .svn .sversionrc home_backup/;
-# run the appropriate command to set the symlinks correctly
-sh -c "$(awk -F '      ' '{print $2}' ~/.home_modules/base/sa_base) ~/.home_modules;"
+mv .wgetrc home_backup/;
+mv .svn home_backup/;
+mv .sversionrc home_backup/;
 mkdir .sa.d;
 ln -s ~/.home_modules/*/sa_* .sa.d/;
 mkdir .sa.d;
 ln -s ~/.home_modules/*/sa_* .sa.d/;
+# run the appropriate command to set the symlinks correctly
+~/bin/sa --hooks-only update
 cat -<<EOF> .sa.d/sa_local
 ~/bin
 ~/lib
 EOF
 cat -<<EOF> .sa.d/sa_local
 ~/bin
 ~/lib
 EOF
-exec sa update;
\ No newline at end of file
+exec ~/bin/sa update;
\ No newline at end of file