]>
Commit | Line | Data |
---|---|---|
189288f7 | 1 | #!/bin/sh |
d9362f34 | 2 | |
3 | #fix permissions from git (should probably move this to git hook) | |
4 | chmod go= base/.zshenv base/.Xresources | |
5 | ||
6 | for x in `find "$PWD/base" -mindepth 1 -maxdepth 1`; do | |
7f0acd88 | 7 | ln -vwis "$x" "$HOME/`basename $x`" |
8 | done | |
bd6360b9 | 9 | touch "$HOME/.hushlogin" |
7f0acd88 | 10 | |
39bd5e00 | 11 | #FreeBSD tries `_secure_path' on `.login_conf' before reaading the database, |
12 | #so it needs to be compiled and unlinked for it to actually take effect. | |
d9362f34 | 13 | cd "$HOME" |
39bd5e00 | 14 | rm .login_conf.db |
15 | cap_mkdb .login_conf | |
16 | unlink .login_conf | |
d9362f34 | 17 | cd - |