From: Simon Ruderich Date: Mon, 27 Apr 2009 13:20:18 +0000 (+0200) Subject: setup.sh: Use generate() to create aptitude/config. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=7c2fd5579bbc6ecebee517b37834fa27e8ba38ab;p=config%2Fdotfiles.git setup.sh: Use generate() to create aptitude/config. --- diff --git a/setup.sh b/setup.sh index e7d9ac6..e78989c 100755 --- a/setup.sh +++ b/setup.sh @@ -12,7 +12,9 @@ if [ `os` = darwin ]; then fi if [ `os` = debian ]; then # Necessary as aptitude rewrites the config file on every start. - cp debian/aptitude/config.real debian/aptitude/config + generate cat debian/aptitude/config .real + # aptitude/config uses // as comment instead of #. + sed -i 's|^#|//|' debian/aptitude/config link debian/aptitude ~/.aptitude fi