Commit bc462d14e38a69d55455595e5ab275fde7cac469
1 parent
c5265b67
Exists in
master
and in
22 other branches
Skip comment lines when extracting dependencies
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
script/install-dependencies/debian-wheezy.sh
... | ... | @@ -63,7 +63,7 @@ run sudo apt-get -qy dist-upgrade |
63 | 63 | run sudo apt-get -y install dctrl-tools |
64 | 64 | |
65 | 65 | # needed to run noosfero |
66 | -packages=$(grep-dctrl -n -s Build-Depends,Depends,Recommends -S -X noosfero debian/control | sed -e 's/([^)]*)//g; s/,\s*/\n/g' | grep -v 'memcached\|debconf\|dbconfig-common\|misc:Depends\|adduser\|mail-transport-agent') | |
66 | +packages=$(grep-dctrl -n -s Build-Depends,Depends,Recommends -S -X noosfero debian/control | sed -e '/^\s*#/d; s/([^)]*)//g; s/,\s*/\n/g' | grep -v 'memcached\|debconf\|dbconfig-common\|misc:Depends\|adduser\|mail-transport-agent') | |
67 | 67 | run sudo apt-get -y install $packages |
68 | 68 | sudo apt-get -y install iceweasel || sudo apt-get -y install firefox |
69 | 69 | ... | ... |