oagwkokaowgko revised this gist 5 hours ago. Go to revision
1 file changed, 19 insertions
gistfile1.txt(file created)
| @@ -0,0 +1,19 @@ | |||
| 1 | + | #!/bin/bash | |
| 2 | + | set -e | |
| 3 | + | ||
| 4 | + | sudo pacman -Syu --noconfirm | |
| 5 | + | ||
| 6 | + | if ! command -v yay &> /dev/null; then | |
| 7 | + | sudo pacman -S --needed git base-devel --noconfirm | |
| 8 | + | git clone https://aur.archlinux.org/yay.git | |
| 9 | + | cd yay | |
| 10 | + | makepkg -si --noconfirm | |
| 11 | + | cd .. | |
| 12 | + | rm -rf yay | |
| 13 | + | fi | |
| 14 | + | ||
| 15 | + | yay -S --noconfirm anydesk | |
| 16 | + | ||
| 17 | + | sudo systemctl enable --now anydesk.service | |
| 18 | + | ||
| 19 | + | echo "AnyDesk instalado com sucesso!" | |
Newer
Older