From 7c2fd5579bbc6ecebee517b37834fa27e8ba38ab Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 27 Apr 2009 15:20:18 +0200 Subject: [PATCH] setup.sh: Use generate() to create aptitude/config. --- setup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.45.2