#!/bin/bash -f ###################################################################### # Artemis Nebula APT script, (C) 2015-2020 Nosey Nick Waterman, # https://noseynick.org/artemis/nebula/ # All wrong righted, all rights reserved. Licensed under thev GNU # Affero General Public License v3.0 https://www.gnu.org/licenses/agpl.txt # with Commons Clause https://commonsclause.com/ v1.0 ###################################################################### banner 'APT package installs (may take a minute or three)' # shellcheck disable=SC1091 # don't include this when shellchecking . /etc/os-release # shellcheck disable=SC1090 # don't parse when shellchecking: . ~/bin/conf.sh sudo dpkg --add-architecture i386 # ++++++++++++++++++++ is this still needed? if [[ "$EE_VER" ]]; then if [[ "$EE_VER" == "latest" ]]; then nebula https://api.github.com/repos/daid/EmptyEpsilon/releases/latest EE_VER=$(grep tag_name ~/bin/latest | cut -d'"' -f4) fi URL=https://github.com/daid/EmptyEpsilon/releases/download nebula "$URL/$EE_VER/Linux_EmptyEpsilon_$EE_VER.deb" # NOT actually WINE at all: WINE="$HOME/bin/Linux_EmptyEpsilon_$EE_VER.deb libglu1-mesa" else case "$NAME" in cos*|3*) WINE="wine64 winetricks pulseaudio" ;; # Needed for Artemis 3 Cosmos *) WINE=wine32 ;; # Ubuntu includes a "good enough" version for Artemis 2 esac; fi mkdir -vp ~/logs if [[ -x /usr/bin/gcloud ]]; then X11=xvfb; else X11=xserver-xorg; fi # shellcheck disable=SC2024 # I am not trying to sudo redirect [[ -f ~/logs/apt.log ]] || sudo DEBIAN_FRONTEND=noninteractive apt-get -yq update > ~/logs/apt.log # sudo DEBIAN_FRONTEND=noninteractive apt-get -yq upgrade --force-yes sudo DEBIAN_FRONTEND=noninteractive apt-get -yq install --allow-unauthenticated \ ifstat ntp unzip bzip2 $X11 x11vnc $WINE xdotool # jed only needed by Nick # jq no longer needed by discord.sh