diff --git a/bootstrap.sh b/bootstrap.sh index 2785e47..aef672c 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -52,7 +52,7 @@ readonly installer="$dotfiles_dir/$INSTALLER" echo "using installer: $installer" # Ensure git is installed -if ! [ -x "$(command -v git)" ]; then +if ! [ -x $(command -v git) ]; then echo "installing git..." sudo apt-get update -qqy sudo apt-get install git -qqy diff --git a/install/00-apt.sh b/install/00-apt.sh index 3f26f37..c749d27 100644 --- a/install/00-apt.sh +++ b/install/00-apt.sh @@ -10,6 +10,6 @@ readonly package_list_file="00-apt-pkglist" update upgrade -# Package installs -readonly package_list="$(cat $install_dir/$package_list_file)" -install -y "$package_list" +# Package installs (don't escape list) +readonly package_list=$(cat $install_dir/$package_list_file) +install -y $package_list diff --git a/utils.sh b/utils.sh index ed71141..523ba03 100644 --- a/utils.sh +++ b/utils.sh @@ -48,7 +48,7 @@ indent() { sed 's/^/ /'; } # @arg $1 binary to test not_installed() { - ! [ -x "$(command -v $1)" ] + ! [ -x $(command -v $1) ] } # Colors