]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - setup.sh
setup.sh: Be more compatible.
[config/dotfiles.git] / setup.sh
1 #!/bin/sh
2
3 # Setup script for OS related configuration files.
4
5
6 . ../lib.sh
7
8 if [ x`os` = xdarwin ]; then
9     # Sets a custom PATH for GUI applications.
10     mkdir -p ~/.MacOSX
11     link darwin/environment.plist ~/.MacOSX/environment.plist
12 fi
13 if [ x`os` = xdebian ]; then
14     # Necessary as aptitude rewrites the config file on every start.
15     generate cat debian/aptitude/config .real
16     # aptitude/config uses // as comment instead of #.
17     sed -i 's|^#|//|' debian/aptitude/config
18
19     link debian/aptitude ~/.aptitude
20     link debian/reportbugrc ~/.reportbugrc
21 fi