#!/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; 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;