diff options
author | Loic Dachary <ldachary@redhat.com> | 2015-02-03 17:40:41 +0100 |
---|---|---|
committer | Loic Dachary <ldachary@redhat.com> | 2015-02-03 17:40:41 +0100 |
commit | 19d5de92bfd2d67e90cba35026834b1f6655bea2 (patch) | |
tree | 4cf5388a07f52bcbaae74302da6d8805160a6269 /install-deps.sh | |
parent | install-deps.sh: get lsb_release if needed (diff) | |
download | ceph-19d5de92bfd2d67e90cba35026834b1f6655bea2.tar.xz ceph-19d5de92bfd2d67e90cba35026834b1f6655bea2.zip |
install-deps.sh: babeltrace is not on wheezy
The babeltrace package is not found on wheezy, not just squeeze.
Fix the regular expression that incorrectly replaced
libbabeltrace-ctf-dev with -ctf-dev leading to a strange error
E: Opening configuration file tf-dev - ifstream::ifstream (2: No such file or directory)
when running apt-get install.
Signed-off-by: Loic Dachary <ldachary@redhat.com>
Diffstat (limited to 'install-deps.sh')
-rwxr-xr-x | install-deps.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install-deps.sh b/install-deps.sh index 548f3c366ea..3742f2c6a2c 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -37,8 +37,8 @@ Ubuntu|Debian|Devuan) -e 's/\(.*?\)//g;' \ -e 's/ +/\n/g;' | sort) case $(lsb_release -sc) in - squeeze) - packages=$(echo $packages | perl -pe 's/\w*babeltrace\w*//g') + squeeze|wheezy) + packages=$(echo $packages | perl -pe 's/[-\w]*babeltrace[-\w]*//g') ;; esac $SUDO apt-get install -y $packages |