bad c&p fixed (sudo)

This commit is contained in:
ohfp 2020-03-29 01:10:49 +01:00
parent 814cca9f4a
commit 31b77c08ce

View file

@ -1,6 +1,8 @@
#!/bin/bash
printf "\n\n-------------------------------------- DEPENDENCY INSTALLATION ---------------------------------------------\n";
set -e
# Setup Script Variables
# _DEPENDENCIES="mercurial wget git flatpak flatpak-builder";
_DEPENDENCIES="wget git xvfb build-essential xz-utils curl python3";
@ -13,7 +15,7 @@ DEBIAN_FRONTEND=noninteractive apt-get -y -qq install $_DEPENDENCIES;
# Installs (non-ancient) clang
DEBIAN_FRONTEND=noninteractive apt install -y software-properties-common
sudo apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-9 main"
apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-9 main"
DEBIAN_FRONTEND=noninteractive wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add
DEBIAN_FRONTEND=noninteractive apt-get update
DEBIAN_FRONTEND=noninteractive apt-get -y install clang-9