mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 21:12:24 +01:00
* Removes old UT definition files (drone/travis) * Adds concurrency definitions to the workflows * Changes our workflows to be more in line with what /tg does * Adds a workflow to build/commit TGUI * Adds a workflow to build/commit changelogs Add python version to dependencies.sh Fix dme errors Removes a bunch of not included files Cache Opendream and add directory to check_grep.py Co-authored-by: Werner <Arrow768@users.noreply.github.com>
20 lines
480 B
Bash
Executable File
20 lines
480 B
Bash
Executable File
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
source dependencies.sh
|
|
|
|
if [ ! -f ~/$1 ]; then
|
|
mkdir -p "$HOME/SpacemanDMM"
|
|
CACHEFILE="$HOME/SpacemanDMM/$1"
|
|
|
|
if ! [ -f "$CACHEFILE.version" ] || ! grep -Fxq "$SPACEMAN_DMM_VERSION" "$CACHEFILE.version"; then
|
|
wget -O "$CACHEFILE" "https://github.com/SpaceManiac/SpacemanDMM/releases/download/$SPACEMAN_DMM_VERSION/$1"
|
|
chmod +x "$CACHEFILE"
|
|
echo "$SPACEMAN_DMM_VERSION" >"$CACHEFILE.version"
|
|
fi
|
|
|
|
ln -s "$CACHEFILE" ~/$1
|
|
fi
|
|
|
|
~/$1 --version
|