]>
Commit | Line | Data |
---|---|---|
1b8a4102 | 1 | #!/bin/sh |
03bc64c4 | 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 | |
04ff96a4 | 7 | ln -vwis "$x" "$HOME/`basename $x`" |
8 | done | |
82151901 | 9 | for x in `find "$PWD/xdg" -mindepth 1 -maxdepth 1`; do |
10 | ln -vwis "$x" "${XDG_CONFIG_HOME:-$HOME/.config}/`basename $x`" | |
11 | done | |
e969e1c2 | 12 | touch "$HOME/.hushlogin" |
04ff96a4 | 13 | |
ee4bf66d | 14 | #FreeBSD tries `_secure_path' on `.login_conf' before reaading the database, |
15 | #so it needs to be compiled and unlinked for it to actually take effect. | |
03bc64c4 | 16 | cd "$HOME" |
ee4bf66d | 17 | rm .login_conf.db |
18 | cap_mkdb .login_conf | |
19 | unlink .login_conf | |
03bc64c4 | 20 | cd - |