X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=setup.sh;h=ed385678d1d7ea579d7d3cb74701c44165b5b53d;hb=cc00d2d0a986a4ea9b3ef2931a435a0dd267eff0;hp=4160cf7603cc386447bffc9b02568232a49d2618;hpb=2da15bc0a0660f37f7a6beeff675cec0626d9901;p=config%2Fdotfiles.git diff --git a/setup.sh b/setup.sh index 4160cf7..ed38567 100755 --- a/setup.sh +++ b/setup.sh @@ -5,9 +5,17 @@ . ../lib.sh -# Link setup. -if [ `os` = darwin ]; then +if [ x`os` = xdarwin ]; then # Sets a custom PATH for GUI applications. mkdir -p ~/.MacOSX link darwin/environment.plist ~/.MacOSX/environment.plist fi +if [ x`os` = xdebian ]; then + # Necessary as aptitude rewrites the config file on every start. + generate cat debian/aptitude/config .real + # aptitude/config uses // as comment instead of #. + sed -i 's|^#|//|' debian/aptitude/config + + link debian/aptitude ~/.aptitude + link debian/reportbugrc ~/.reportbugrc +fi