From: Stefano Stabellini Date: Wed, 18 Mar 2015 18:13:31 +0000 (+0000) Subject: Remove "Ubuntu" everywhere: It is not treated as Debian X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=daddfa4eb0c905b339e98eb30bf14b56e30e46aa;p=people%2Fsstabellini%2Fraisin.git Remove "Ubuntu" everywhere: It is not treated as Debian Signed-off-by: Stefano Stabellini --- diff --git a/common-functions.sh b/common-functions.sh index c79d950..b57807c 100644 --- a/common-functions.sh +++ b/common-functions.sh @@ -92,7 +92,7 @@ function install_dependencies() { return 0 fi case $DISTRO in - "Debian" | "Ubuntu" ) + "Debian" ) $SUDO apt-get install -y $* ;; "Fedora" ) @@ -106,7 +106,7 @@ function install_dependencies() { function start_initscripts() { case $DISTRO in - "Debian" | "Ubuntu" ) + "Debian" ) while test $# -ge 1 do $SUDO update-rc.d $1