X-Git-Url: https://git.donarmstrong.com/?p=bin.git;a=blobdiff_plain;f=svnfix;h=322e541c778998d8481e8f842202ba0f437f58dd;hp=c063b9b8702884c5a71285f8c3d9b67d5b9c96e6;hb=HEAD;hpb=1c06d0fb15bcf6c3e11a13d8f62e795a55fe0515 diff --git a/svnfix b/svnfix index c063b9b..322e541 100755 --- a/svnfix +++ b/svnfix @@ -1,9 +1,57 @@ #!/bin/sh +# fix all of the permissions +find ~/.hide -print0 |xargs -0 chmod go-rwx; + if [ -e ~/.hide/irssi_config ] && [ -d .irssi ]; then ln -sf ~/.hide/irssi_config ~/.irssi/config; fi; if [ -e ~/.hide/todo ]; then ln -sf ~/.hide/todo ~/.todo -fi; \ No newline at end of file +fi; + +if [ -e ~/.hide/gaim_accounts.xml ] && [ -d .gaim ]; then + ln -sf ~/.hide/gaim_accounts.xml ~/.gaim/accounts.xml; +fi; + +if [ -e ~/.hide/mail_aliases ]; then + ln -sf ~/.hide/mail_aliases ~/.mail_aliases +fi; + +for a in bug order; do + if [ -e ~/.hide/${a}_bot.conf ]; then + ln -sf ~/.hide/${a}_bot.conf ~/.${a}_bot.conf + fi; +done; + +if [ -e ~/.hide/fb_photo_upload ]; then + ln -sf ~/.hide/fb_photo_upload ~/.fb_photo_upload; +fi; + + +if [ -e ~/.hide/qgo_rc ]; then + ln -sf ~/.hide/qgo_rc ~/.qGorc; +fi; + +if [ -e ~/.hide/f1rc ]; then + ln -sf ~/.hide/f1rc ~/.f1rc +fi; + +if [ -e ~/.hide/dgsmon_conf ]; then + ln -sf ~/.hide/dgsmon_conf ~/.dgsmonrc +fi; + +if [ -e ~/.hide/reminders ]; then + ln -sf ~/.hide/reminders ~/.reminders +fi; + +if [ -e ~/.hide/korganize_standard.ics ]; then + ln -sf ~/.hide/korganize_standard.ics ~/.kde/share/apps/korganizer/std.ics +fi; + +for a in twitter identica; do + if [ -e ~/.hide/twidge_${a} ]; then + ln -sf ~/.hide/twidge_${a} ~/.twidge-${a}; + fi; +done; \ No newline at end of file