Fix install.sh
This commit is contained in:
parent
60c44d97e4
commit
ac4d628d0b
12
install.sh
12
install.sh
@ -9,13 +9,13 @@ if [[ "$EUID" == 0 ]]; then
|
||||
echo "Run script as normal user"
|
||||
fi
|
||||
|
||||
$(SUDO) apt update
|
||||
$(SUDO) apt install software-properties-common
|
||||
$(SUDO) apt-add-repository --yes --update ppa:ansible/ansible
|
||||
$(SUDO) apt install -y git ansible
|
||||
"${SUDO}" apt update
|
||||
"${SUDO}" apt install software-properties-common
|
||||
"${SUDO}" apt-add-repository --yes --update ppa:ansible/ansible
|
||||
"${SUDO}" apt install -y git ansible
|
||||
|
||||
mkdir -p $(HOME)/src
|
||||
cd $(HOME)/src
|
||||
mkdir -p "${HOME}/src"
|
||||
cd "${HOME}/src"
|
||||
git clone "$ANSIBLE_REPO"
|
||||
cd ansible-desktop
|
||||
ansible-playbook localhost.yml
|
||||
|
Loading…
Reference in New Issue
Block a user