]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - setup.sh
debian: Add aptitude configuration file.
[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 [ `os` = darwin ]; 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 [ `os` = debian ]; then
14     # Necessary as aptitude rewrites the config file on every start.
15     cp debian/aptitude/config.real debian/aptitude/config
16
17     link debian/aptitude ~/.aptitude
18 fi