From: Loic Dachary Date: Thu, 5 Mar 2015 10:38:18 +0000 (+0100) Subject: install-deps.sh: strip | in the list of packages X-Git-Tag: v0.94~53^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4add63c92ed7944b3828dce55a86bdd6ee2732eb;p=ceph.git install-deps.sh: strip | in the list of packages Alternatives were introduced lately and the | needs to be stripped from the list of packages to install otherwise apt-get will try to install all packages. Signed-off-by: Yann Dupont --- diff --git a/install-deps.sh b/install-deps.sh index cb050d692ad5..dab02cfaac2d 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -38,6 +38,7 @@ Ubuntu|Debian|Devuan) packages=$(dpkg-checkbuilddeps --admindir=$DIR debian/control 2>&1 | \ perl -p -e 's/.*Unmet build dependencies: *//;' \ -e 's/build-essential:native/build-essential/;' \ + -e 's/\|//g;' \ -e 's/\(.*?\)//g;' \ -e 's/ +/\n/g;' | sort) case $(lsb_release -sc) in