)
# make a home backup directory
mkdir home_backup;
-mv .wgetrc home_backup/;
-mv .svn home_backup/;
-mv .sversionrc home_backup/;
+for a in .wgetrc .svn .sversionrc .subversion .bash_profile .bashrc .ssh; do
+ mv $a home_backup/;
+done;
mkdir .sa.d;
ln -s ~/.home_modules/*/sa_* .sa.d/;
# run the appropriate command to set the symlinks correctly
~/bin
~/lib
EOF
+# move back the .ssh stuff
+if [ -e home_backup/.ssh ]; then
+ cp -f home_backup/.ssh/* .ssh/;
+fi;
exec ~/bin/sa update;
\ No newline at end of file
my $HOSTNAME=qx(hostname);
$HOSTNAME=~s/\n//g;
my $CAN_IGNORE_EXTERNALS = 0;
-qx(svn --version) =~ /\(r(\d+)\)/;
-if ($1 > 13838) {
- $CAN_IGNORE_EXTERNALS = 1;
+if (not $options{hooks_only}) {
+ qx(svn --version) =~ /\(r(\d+)\)/;
+ if ($1 > 13838) {
+ $CAN_IGNORE_EXTERNALS = 1;
+ }
}
sub available_config_files{