Fix bashism.

This commit is contained in:
Pedro Algarvio 2013-09-27 23:19:54 +01:00
parent 92abdec4d1
commit 77a975a7ee

View file

@ -1250,7 +1250,7 @@ __enable_universe_repository() {
install_ubuntu_deps() {
apt-get update
if [ $DISTRO_MAJOR_VERSION -gt 12 ] || [ $DISTRO_MAJOR_VERSION -eq 12 -a $DISTRO_MINOR_VERSION -eq 10 ]; then
if [ $DISTRO_MAJOR_VERSION -gt 12 ] || [ $DISTRO_MAJOR_VERSION -eq 12 && $DISTRO_MINOR_VERSION -eq 10 ]; then
# Above Ubuntu 11.10 add-apt-repository is in a different package
__apt_get_install_noinput software-properties-common || return 1
else