Apply coding style to new package install prints as well
@@ -218,7 +218,7 @@ fi" > ~/.profile_mycroft
# Create a link to the 'skills' folder.
sleep 0.5
echo
- echo "The standard location for Mycroft skills is under /opt/mycroft/skills."
+ echo 'The standard location for Mycroft skills is under /opt/mycroft/skills.'
if [[ ! -d /opt/mycroft/skills ]] ; then
echo 'This script will create that folder for you. This requires sudo'
echo 'permission and might ask you for a password...'
@@ -277,17 +277,17 @@ function install_deps() {
echo 'Installing packages...'
if found_exe zypper ; then
# OpenSUSE
- echo ${GREEN} Installing packages for OpenSUSE...${RESET}
+ echo "$GREEN Installing packages for OpenSUSE...$RESET"
$SUDO zypper install -y git python3 python3-devel libtool libffi-devel libopenssl-devel autoconf automake bison swig portaudio-devel mpg123 flac curl libicu-devel pkg-config libjpeg-devel libfann-devel python3-curses pulseaudio
$SUDO zypper install -y -t pattern devel_C_C++
elif found_exe yum && os_is centos ; then
# CentOS
- echo ${GREEN} Installing packages for Centos...${RESET}
+ echo "$GREEN Installing packages for Centos...$RESET"
$SUDO yum install epel-release
redhat_common_install
elif found_exe yum && os_is rhel ; then
# Redhat Enterprise Linux
- echo ${GREEN} Installing packages for Red Hat...${RESET}
+ echo "$GREEN Installing packages for Red Hat...$RESET"
$SUDO yum install -y wget
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
$SUDO yum install -y epel-release-latest-7.noarch.rpm
@@ -295,15 +295,15 @@ function install_deps() {
redhat_common_install
elif os_is_like debian ; then
# Debian / Ubuntu
- echo ${GREEN} Installing packages for Debian/Ubuntu...${RESET}
+ echo "$GREEN Installing packages for Debian/Ubuntu...$RESET"
$SUDO apt-get install -y git python3 python3-dev python-setuptools python-gobject-2-dev libtool libffi-dev libssl-dev autoconf automake bison swig libglib2.0-dev portaudio19-dev mpg123 screen flac curl libicu-dev pkg-config automake libjpeg-dev libfann-dev build-essential jq
elif os_is_like fedora ; then
- echo ${GREEN} Installing packages for Fedora...${RESET}
+ echo "$GREEN Installing packages for Fedora...$RESET"
# Fedora
$SUDO dnf install -y git python3 python3-devel python3-pip python3-setuptools python3-virtualenv pygobject3-devel libtool libffi-devel openssl-devel autoconf bison swig glib2-devel portaudio-devel mpg123 mpg123-plugins-pulseaudio screen curl pkgconfig libicu-devel automake libjpeg-turbo-devel fann-devel gcc-c++ redhat-rpm-config jq
elif found_exe pacman; then
# Arch Linux
- echo ${GREEN} Installing packages for Arch...${RESET}
+ echo "$GREEN Installing packages for Arch...$RESET"
$SUDO pacman -S --needed --noconfirm git python python-pip python-setuptools python-virtualenv python-gobject python-virtualenvwrapper libffi swig portaudio mpg123 screen flac curl icu libjpeg-turbo base-devel jq pulseaudio pulseaudio-alsa
pacman -Qs '^fann$' &> /dev/null || (
git clone https://aur.archlinux.org/fann.git
