From f3690da2f1ef9f5cf84afb1060e407932f8eec36 Mon Sep 17 00:00:00 2001 From: Andrejus Date: Wed, 26 Feb 2020 17:27:44 +0000 Subject: [PATCH] escape utils variables --- install/01-fish.sh | 2 +- install/12-docker.sh | 8 ++------ install/20-pyenv.sh | 2 +- install/22-poetry.sh | 2 +- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/install/01-fish.sh b/install/01-fish.sh index 7ab914f..e3cedc8 100644 --- a/install/01-fish.sh +++ b/install/01-fish.sh @@ -12,7 +12,7 @@ if not_installed "fish"; then printf "Installing fish...\n" # Add fish repository - app_ppa fish-shell/release-3 + app_ppa "fish-shell/release-3" update # Install fish diff --git a/install/12-docker.sh b/install/12-docker.sh index 67358e1..f5aa72a 100644 --- a/install/12-docker.sh +++ b/install/12-docker.sh @@ -13,15 +13,11 @@ if not_installed "docker"; then printf "Installing docker...\n" # Requirements - install \ - apt-transport-https \ - ca-certificates \ - curl \ - gnupg-agent \ + install apt-transport-https ca-certificates curl gnupg-agent \ software-properties-common # Add repository - add_key https://download.docker.com/linux/ubuntu/gpg + add_key "https://download.docker.com/linux/ubuntu/gpg" sudo add-apt-repository -y \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ diff --git a/install/20-pyenv.sh b/install/20-pyenv.sh index b946eba..cae9a43 100644 --- a/install/20-pyenv.sh +++ b/install/20-pyenv.sh @@ -17,7 +17,7 @@ if not_installed "pyenv"; then # Install pyenv # see https://github.com/pyenv/pyenv-installer - run https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer bash + run "https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer" "bash" # Add to install path readonly pyenv_path="$HOME/.pyenv/bin" diff --git a/install/22-poetry.sh b/install/22-poetry.sh index 72cc0d9..cfc3212 100644 --- a/install/22-poetry.sh +++ b/install/22-poetry.sh @@ -10,7 +10,7 @@ if not_installed "poetry"; then printf "Installing poetry...\n" # Install poetry - run https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py python + run "https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py" "python" fi printf "poetry is installed\n"