From daddfa4eb0c905b339e98eb30bf14b56e30e46aa Mon Sep 17 00:00:00 2001 From: Stefano Stabellini Date: Wed, 18 Mar 2015 18:13:31 +0000 Subject: [PATCH] Remove "Ubuntu" everywhere: It is not treated as Debian Signed-off-by: Stefano Stabellini --- common-functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5