X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=setup.sh;h=e7d9ac67945457312da65ec8f1ddca5ef8b67f3f;hb=9de4cb6f2f09d18f1ccd4c2a73144d40448168b9;hp=77346240fbeeb2e7cb185f062bf35853676cd54c;hpb=961b6536d582cde4625579b78abaa796c71db7e6;p=config%2Fdotfiles.git diff --git a/setup.sh b/setup.sh index 7734624..e7d9ac6 100755 --- a/setup.sh +++ b/setup.sh @@ -1,11 +1,18 @@ +#!/bin/sh + # Setup script for OS related configuration files. . ../lib.sh -# Link setup. if [ `os` = darwin ]; then # Sets a custom PATH for GUI applications. mkdir -p ~/.MacOSX link darwin/environment.plist ~/.MacOSX/environment.plist fi +if [ `os` = debian ]; then + # Necessary as aptitude rewrites the config file on every start. + cp debian/aptitude/config.real debian/aptitude/config + + link debian/aptitude ~/.aptitude +fi